Skip to content

v5.22.1 (2026-09-29)

Choose a tag to compare

@github-actions github-actions released this 29 Sep 03:26
· 13 commits to main since this release
Immutable release. Only release title and notes can be modified.
d0c3687

What's Changed

๐Ÿž Fixes

  • react-x/use-state: directly returning the useState result (ex: return React.useState()) is now allowed regardless of the rule's options, matching the exemption in the original react/hook-use-state rule. Covers explicit, implicit (arrow function), and type-asserted returns; lazy initialization checks still apply. (#1974, closes #1963)

๐Ÿ“ Documentation

  • Added a note about eslint being an optional peer dependency to the READMEs and the website's getting-started guides.
  • Simplified the @eslint-react/kit README to point to the full documentation.

Full Changelog: v5.22.0...v5.22.1

Attestation

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