Announcing v5.7.0
A maintenance release featuring the fully implemented no-unused-state rule and LTS maintenance mode
Starting with v5.7.0, the project has entered a Long-Term Support (LTS) maintenance mode. New feature development is temporarily on hold while the project prioritizes bug fixes, rule improvements, and documentation updates. See #1740 for details.
New Rules
react-x/no-unused-state
The react-x/no-unused-state rule, which was re-added as a no-op in v5.6.6, is now fully implemented.
It detects state variables declared via useState (or similar state hooks) that are defined but never read, or only read inside an effect or effect dependency array (#1741).
Documentation Updates
- Updated minimum version requirements in README and docs:
- ESLint 10.2.1
- TypeScript 6.0.3
- pnpm 10.33.2
- Fixed
no-unused-statemigration docs and removed rule reasons.
References
- Changelog: v5.7.0
- Full Changelog: v5.6.6...v5.7.0