npm @eslint-react/eslint-plugin 5.27.0
v5.27.0 (2026-10-15)

latest release: 5.27.1
3 hours ago

What's Changed

🐞 Fixes

  • react-web-api/no-leaked-event-listener: cleanups returned through conditional expressions (ex: return cond ? () => window.removeEventListener(...) : null) are now recognized and no longer reported. (#2038)
  • react-web-api/no-leaked-fetch: effect setups wrapped in type expressions (ex: useEffect((() => { fetch(...) }) as any, [])) are now recognized. (#2038)
  • react-debug/function-component: computed string-literal displayName keys (ex: App["displayName"]) are now recognized. (#2038)

🏗️ Internal

  • @eslint-react/core: accuracy and consistency fixes in detection helpers. (#2038)
  • react-x: the custom tsl config now enforces the fact-based layer dependency order. (#2036)
  • Bumped react and react-dom to 19.3.1, next to 16.4.1.

📝 Documentation

  • Revised the rule implementation pattern guides and refined the core ideas and layer dependency model in the fact-based rule implementation docs. (#2034, #2035)

Full Changelog: v5.26.7...v5.27.0

Attestation

https://github.com/Rel1cx/eslint-react/attestations/56048631

Don't miss a new eslint-plugin release

NewReleases is sending notifications on new releases.