github Rel1cx/eslint-react v2.8.0
v2.8.0 (2026-01-29)

latest release: v2.8.1
20 hours ago

What's Changed

✨ New

  • Function component detection now supports identifying components that don't return a ReactNode but call React Hooks by @Rel1cx in #1438
    The function in below example will be detected as a function component in relevant rules:
    function App() {
      useEffect(() => {}, []);
    }

🐞 Fixes

  • Revert no-unnecessary-key to remove constant key checking, closes #1436 by @Rel1cx in #1439

Full Changelog: v2.7.4...v2.8.0

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.