github Rel1cx/eslint-react v2.5.4
v2.5.4 (2026-01-10)

latest release: v2.5.5
one day ago

What's Changed

🐞 Fixes

  • Remove no-unnecessary-key rule from strict presets by @Rel1cx in #1386
  • Remove no-duplicate-key rule 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-key
  • no-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

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.