Skip to content

Rule proposal: prop quotes #12

Closed
Closed
@lencioni

Description

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' />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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