@eslint-react/var
Advanced tools
Changelog
v1.35.0 (2025-03-18)
no-render
rule to replace ReactDom.render()
with createRoot(node).render()
, closes #972 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/993no-hydrate
rule to replace ReactDom.hydrate()
with hydrateRoot()
, closes #973 by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/995hooks-extra/no-useless-custom-hooks
to hooks-extra/no-unnecessary-use-prefix
by @Rel1cx in https://github.com/Rel1cx/eslint-react/pull/996The following rules have been renamed:
react-hooks-extra/no-useless-custom-hooks
to react-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: https://github.com/Rel1cx/eslint-react/compare/v1.34.1...v1.35.0