What's Changed
✨ New
- The plugins can now be used with Oxlint without an
eslintinstallation:eslintis now an optional peer dependency across all published packages, and the rule utilities no longer eagerly load theeslintpackage at import time. (#1965)
🏗️ Internal
@eslint-react/core: removed the unusedisAssignmentToThisStatehelper, and simplified thereact-xclass-component rules (no-access-state-in-setstate,no-class-component,no-direct-mutation-state,no-set-state-in-*) accordingly.@eslint-react/eslint: added a localgetConstrainedTypeAtLocationhelper (adapted from@typescript-eslint/type-utils) so consumers don't need to load@typescript-eslint/type-utils, whose entry point eagerly loads theeslintpackage. (#1965)- Bumped
typescript-eslintto8.70.1,fumadocsto16.15.14,fumadocs-mdxto15.4.5,viteto8.3.1, and other dependencies.
New Contributors
Full Changelog: v5.20.8...v5.21.0
Attestation
https://github.com/Rel1cx/eslint-react/attestations/50602129