Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v1.38.4 (2025-03-29)
v1.38.3 (2025-03-28)
v1.38.2 (2025-03-27)
v1.38.0 (2025-03-25)
What's Changed
✨ New
- feat: add
react-x/jsx-no-undef
rule, closes #1016 by @Rel1cx in #1018 - feat: add
hooks-extra/prefer-use-state-lazy-initialization
rule torecommended
by @Rel1cx in #1019 - docs: add
experimental
status to rules overview by @Rel1cx in #1012
🪄 Improvements
- refactor: undeprecate
react-x/jsx-uses-vars
andreact-x/jsx-no-duplicate-props
rules by @Rel1cx in #1017
Full Changelog: v1.37.3...v1.38.0
v1.37.3 (2025-03-22)
What's Changed
🐞 Fixes
- fix: the requested module
ts-api-utils
does not provide an export namedunionConstituents
, closes #1009 by @Rel1cx in #1010
Full Changelog: v1.37.2...v1.37.3
v1.37.2 (2025-03-22)
v1.37.1 (2025-03-22)
v1.37.0 (2025-03-20)
What's Changed
🪄 Improvements
- refactor: remove
hooks-extra/prefer-use-state-lazy-initialization
from recommended presets by @Rel1cx in #1001Based on feedback of this rule, the current implementation produces more false positives than expected, so to ensure the overall quality of the rules in the recommended presets we provide, I'm removing it from the presets for now, and should add it back after we implement a better heuristic for deciding which function calls should be allowed.
Full Changelog: v1.36.3...v1.37.0
v1.36.3 (2025-03-20)
What's Changed
🐞 Fixes
- fix:
hooks-extra/prefer-use-state-lazy-initialization
false positive onuseState(use(promise))
closes #999 by @Rel1cx in #1000
Full Changelog: v1.36.2...v1.36.3