github Rel1cx/eslint-react v5.21.2
v5.21.2 (2026-09-29)

latest release: v5.21.3
5 hours ago

What's Changed

🐞 Fixes

  • react-x/no-unnecessary-use-prefix: hooks that call other hooks only within nested callbacks, functions named exactly use, and hooks defined in test mock module registrations are no longer reported. (#1971)
  • react-x/no-unused-class-component-members: methods invoked by host environments through refs (React Native's NativeMethods) are no longer reported as unused. (#1971)
  • react-x/purity: async function components in modules without a use client directive and impure calls in useRef initializer arguments are no longer reported. (#1971)
  • react-x/set-state-in-effect: local variables initialized from nested member expressions rooted at a ref are now recognized as ref-derived values and no longer reported. (#1971)

🏗️ Internal

  • @eslint-react/ast: predefined and exported common node-type helpers in the Check namespace and migrated call sites to them.

📝 Documentation

  • Website rule docs no longer include the per-rule ## Versions section; a rule's changelog can be viewed directly via the Rule Changelog link under the ## Resources section of each rule doc.

Full Changelog: v5.21.1...v5.21.2

Attestation

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

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.