Skip to content

Add jsx-key to recommended configuration #750

Closed
@lencioni

Description

@lencioni

The jsx-key rule ensures that JSX has a key prop when in an array or iterator. If you don't use a key prop here, React will issue warnings. Given that this is a runtime warning, it seems reasonable to add this rule to the recommended configuration. What do folks think?

I'm adding this to the 7.0.0 milestone so we don't forget to do this for our next major version bump.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions