Skip to content

Rule proposal: prop quotes #12

@lencioni

Description

@lencioni

Similar to ESLint's built-in quotes rule, it would be nice to have a rule that enforces the style of quotes used for props. For instance, if set to "double":

Good:

<MyComponent myProp="value" />

Bad:

<MyComponent myProp='value' />

Metadata

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