Skip to content

new rule: allow only camel case in style property #3206

Open
@asaf147369

Description

I want to enforce that
<div style={{ 'margin-top': 0 }}></div>
is Invalid syntax and to enforce that it will be written as
<div style={{ marginTop: 0 }}> </div>

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions