Rules
no-implicit-key
Full Name in eslint-plugin-react-x
Full Name in @eslint-react/eslint-plugin
Features
🔍
Presets
corerecommendedrecommended-typescriptrecommended-type-checked
What it does
Prevents key from not being explicitly specified (e.g. spreading key from objects).
This makes it hard to see if the key was passed correctly to the element or where it came from.
And it's also be proposed to be deprecated is this RFC: Deprecate spreading key from objects
Examples
This rule aims to prevent spreading key from objects.