npm @eslint-react/eslint-plugin 5.26.4
v5.26.4 (2026-10-13)

latest release: 5.26.5
6 hours ago

What's Changed

🐞 Fixes

  • react-naming-convention/context-name, react-naming-convention/id-name, react-naming-convention/ref-name: the name lookup now stops at function boundaries, so expression-bodied factory functions and custom hooks (ex: export const useAnchor = () => useRef(null)) are no longer misreported; calls inside JSX expressions, computed keys, or class static blocks no longer fall back to the outer variable. (#2029) Closes #2026.
  • react-naming-convention/context-name, react-naming-convention/id-name, react-naming-convention/ref-name: the name lookup no longer crosses containers or derived values (ex: const refs = [useRef(null)], const n = useRef(0) + 1), so such calls are no longer reported on the enclosing variable; sequence expressions check only the last value, and unresolvable computed keys (ex: { [key]: useRef(null) }) no longer fall back to the outer variable. (#2030)

Full Changelog: v5.26.3...v5.26.4

Attestation

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

Don't miss a new eslint-plugin release

NewReleases is sending notifications on new releases.