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