Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v1.36.1 (2025-03-19)
What's Changed
🪄 Improvements
- refactor(naming-convention/use-state): enhance error messaging and docs, closes #980 by @Rel1cx in #997
Full Changelog: v1.35.0...v1.36.1
v1.35.0 (2025-03-18)
What's Changed
✨ New
- feat(plugins/dom): add
no-render
rule to replaceReactDom.render()
withcreateRoot(node).render()
, closes #972 by @Rel1cx in #993 - feat(plugins/dom): add
no-hydrate
rule to replaceReactDom.hydrate()
withhydrateRoot()
, closes #973 by @Rel1cx in #995
🪄 Improvements
- refactor: rename
hooks-extra/no-useless-custom-hooks
tohooks-extra/no-unnecessary-use-prefix
by @Rel1cx in #996
📝 Changes you should be aware of
The following rules have been renamed:
react-hooks-extra/no-useless-custom-hooks
toreact-hooks-extra/no-unnecessary-use-prefix
@eslint-react/hooks-extra/no-useless-custom-hooks
to@eslint-react/hooks-extra/no-unnecessary-use-prefix
The old rule names will still be available until the next major update to avoid breaking changes.
Full Changelog: v1.34.1...v1.35.0
v1.34.1 (2025-03-15)
What's Changed
🐞 Fixes
- fix: false positive in
react-x/no-context-provider
on symbols namedProvider
which are imported from third-party libs, closes #991 by @Rel1cx in #992
Full Changelog: v1.34.0...v1.34.1
v1.34.0 (2025-03-15)
What's Changed
🪄 Improvements
- refactor: export the create function of each rule by @Rel1cx in #989
- refactor(plugins/x): rename
no-nested-components
rule tono-nested-component-definitions
and update related docs by @Rel1cx in #990
📝 Changes you should be aware of
The following rules have been renamed:
react-x/no-nested-components
toreact-x/no-nested-component-definitions
@eslint-react/no-nested-components
to@eslint-react/no-nested-component-definitions
The old rule names will still be available until the next major update to avoid breaking changes.
Full Changelog: v1.33.0...v1.34.0
v1.33.0 (2025-03-14)
What's Changed
🐞 Fixes
- fix: update rule severity for
no-flush-sync
andno-void-elements-with-children
in recommended presets by @Rel1cx in #988
🪄 Improvements
- refactor(plugins/x): rename
ensure-forward-ref-using-ref
tono-useless-forward-ref
by @Rel1cx in #987
📝 Changes you should be aware of
The following rules have been renamed:
react-x/ensure-forward-ref-using-ref
toreact-x/no-useless-forward-ref
@eslint-react/ensure-forward-ref-using-ref
to@eslint-react/no-useless-forward-ref
The old rule names will still be available until the next major update to avoid breaking changes.
Full Changelog: v1.32.1...v1.33.0
v1.32.1 (2025-03-13)
v1.32.0 (2025-03-12)
What's Changed
✨ New
- feat: revert 'feat: add naming-convention/use-state and naming-convention/context-name to recommended presets by @Rel1cx in #956' by @Rel1cx in #982
🪄 Improvements
- docs: update eslint configs in examples to use extends by @Rel1cx in #978
- docs: update ts configs in examples to use project references by @Rel1cx in #979
Full Changelog: v1.31.0...v1.32.0
v1.31.0 (2025-03-07)
What's Changed
✨ New
🪄 Improvements
- docs: improve rules descriptions by @Rel1cx
Full Changelog: v1.30.2...v1.31.0
v1.30.2 (2025-03-05)
What's Changed
🐞 Fixes
- fix(plugins/hooks-extra): misidentification of
set
function in IIFE inside of hooks as its inside ofuseEffect
,useLayoutEffect
, closes #967 by @Rel1cx in #968
Full Changelog: v1.30.1...v1.30.2
v1.30.1 (2025-03-04)
What's Changed
🐞 Fixes
🪄 Improvements
New Contributors
- @mrginglymus made their first contribution in #964
Full Changelog: v1.30.0...v1.30.1