github Rel1cx/eslint-react v2.5.5
v2.5.5 (2026-01-12)

6 hours 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
  • Remove no-implicit-key rule from recommended presets by @Rel1cx in #1388

📝 Changes you should be aware of

The following rules have been removed from the strict and recommended presets:

  • no-unnecessary-key
  • no-duplicate-key
  • no-implicit-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. This unlocks new patterns for key usage that above rules may not handle correctly. Therefore, these rules have been removed from the presets to avoid potential false positives. You can still enable these rules manually if needed.

Full Changelog: v2.5.3...v2.5.5

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.