npm @eslint-react/eslint-plugin 5.30.0-beta.2
v5.30.0-beta.2 (2026-10-25)

2 hours ago

What's Changed

🐞 Fixes

  • react-x/use-state: calls in computed object property keys (ex: useState({ [getKey()]: value })) and JSX subtrees are now detected by the lazy-initialization check instead of being missed. (#2080)

📝 Documentation

  • Added a TanStack Redact example. (#2079)
  • Improved the FAQ, glossary, and examples pages.

🏗️ Internal

  • @eslint-react/ast: added the Collect namespace (getIdentifiers, getCallExpressions, getNewExpressions, getReturnStatements, getReturnExpressions) and a lightweight Traverse.simpleTraverse that does not depend on @typescript-eslint/typescript-estree; adopted by the react-x/no-missing-key, react-x/set-state-in-effect, react-x/use-memo, and react-x/use-state rules. (#2080)
  • react-x/set-state-in-effect: identifier collection now also visits computed property keys, rest elements, and JSX expression containers when resolving ref provenance. (#2080)
  • Removed the now-unused @typescript-eslint/typescript-estree dependency from @eslint-react/ast, @eslint-react/core, @eslint-react/var, and eslint-plugin-react-x. (#2080)

Full Changelog: v5.30.0-beta.1...v5.30.0-beta.2

Attestation

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

Don't miss a new eslint-plugin release

NewReleases is sending notifications on new releases.