Skip to content

Releases: Rel1cx/eslint-react

v1.36.1 (2025-03-19)

19 Mar 03:00
aa3b46b
Compare
Choose a tag to compare

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)

17 Mar 21:36
0fdc3c8
Compare
Choose a tag to compare

What's Changed

✨ New

  • feat(plugins/dom): add no-render rule to replace ReactDom.render() with createRoot(node).render(), closes #972 by @Rel1cx in #993
  • feat(plugins/dom): add no-hydrate rule to replace ReactDom.hydrate() with hydrateRoot(), closes #973 by @Rel1cx in #995

🪄 Improvements

  • refactor: rename hooks-extra/no-useless-custom-hooks to hooks-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 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: v1.34.1...v1.35.0

v1.34.1 (2025-03-15)

15 Mar 06:27
526fa95
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: false positive in react-x/no-context-provider on symbols named Provider 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)

14 Mar 19:07
2f605cf
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • refactor: export the create function of each rule by @Rel1cx in #989
  • refactor(plugins/x): rename no-nested-components rule to no-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 to react-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)

13 Mar 16:45
a8cbb46
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: update rule severity for no-flush-sync and no-void-elements-with-children in recommended presets by @Rel1cx in #988

🪄 Improvements

  • refactor(plugins/x): rename ensure-forward-ref-using-ref to no-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 to react-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)

12 Mar 22:56
36e1aef
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: fixed no-context-provider replaces <Provider> with <>, closes #984 by @Rel1cx in #985

Full Changelog: v1.32.0...v1.32.1

v1.32.0 (2025-03-12)

11 Mar 20:24
6a06d53
Compare
Choose a tag to compare

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)

07 Mar 03:49
e20115d
Compare
Choose a tag to compare

What's Changed

✨ New

  • feat: enhance regex handling in naming convention rules by @Rel1cx in #969

🪄 Improvements

  • docs: improve rules descriptions by @Rel1cx

Full Changelog: v1.30.2...v1.31.0

v1.30.2 (2025-03-05)

05 Mar 05:23
91a89ee
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix(plugins/hooks-extra): misidentification of set function in IIFE inside of hooks as its inside of useEffect, useLayoutEffect, closes #967 by @Rel1cx in #968

Full Changelog: v1.30.1...v1.30.2

v1.30.1 (2025-03-04)

04 Mar 06:43
a9c390a
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix(utilities/var): fix variable init node retrieval, fixes #964 by @Rel1cx in #965

🪄 Improvements

  • refactor(plugins/hooks-extra): improve code reusability by @Rel1cx in #963

New Contributors

Full Changelog: v1.30.0...v1.30.1