Skip to content

Feature request: no-unnecessary-curly #1310

Closed
@Billy-

Description

I'd like to suggest a new rule which disallows this:

<MyComponent someProp={'foo'} />

where it should be:

<MyComponent someProp="foo" />

And the same for children/nodes:

<MyComponent>{'Foo'}</MyComponent>

Where it should be:

<MyComponent>Foo</MyComponent>

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