What's Changed
🐞 Fixes
- Remove
no-unnecessary-keyrule from strict presets by @Rel1cx in #1386 - Remove
no-duplicate-keyrule from recommended presets by @Rel1cx in #1387
📝 Changes you should be aware of
The following rules have been removed from the strict and recommended presets:
no-unnecessary-keyno-duplicate-key
In React projects with the new JSX transform enabled, the key prop can be defined and used by users like any other component prop. Above rules can no longer determine from JSX syntax whether a key on a JSX element is truly unnecessary or duplicated, so these two rules are now being removed from the presets.
Full Changelog: v2.5.3...v2.5.4