Skip to content

Releases: Rel1cx/eslint-react

v1.38.4 (2025-03-29)

29 Mar 10:59
41b55af
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • chore: update default React version to 19.1.0 in documentation and settings by @Rel1cx in #1023

Full Changelog: v1.38.3...1.38.4

v1.38.3 (2025-03-28)

28 Mar 05:00
4809ed1
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

Full Changelog: v1.38.2...1.38.3

v1.38.2 (2025-03-27)

27 Mar 05:03
ff71851
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix(eslint-plugin): disable prefer-shorthand-* rules in all config by @Rel1cx in a9e6ef9

Full Changelog: v1.38.0...v1.38.2

v1.38.0 (2025-03-25)

24 Mar 19:01
aa6409a
Compare
Choose a tag to compare

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 to recommended by @Rel1cx in #1019
  • docs: add experimental status to rules overview by @Rel1cx in #1012

🪄 Improvements

  • refactor: undeprecate react-x/jsx-uses-vars and react-x/jsx-no-duplicate-props rules by @Rel1cx in #1017

Full Changelog: v1.37.3...v1.38.0

v1.37.3 (2025-03-22)

22 Mar 09:01
3f58f47
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: the requested module ts-api-utils does not provide an export named unionConstituents, closes #1009 by @Rel1cx in #1010

Full Changelog: v1.37.2...v1.37.3

v1.37.2 (2025-03-22)

22 Mar 03:56
95996b1
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: prefer-read-only-props false positive using React types, closes #962 by @Rel1cx in #1008

Full Changelog: v1.37.1...v1.37.2

v1.37.1 (2025-03-22)

21 Mar 23:16
707cdeb
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: enhance hooks-extra/prefer-use-state-lazy-initialization to correctly detect other hooks called within useState(...) by @Rel1cx in #1006

🪄 Improvements

Full Changelog: v1.37.0...v1.37.1

v1.37.0 (2025-03-20)

20 Mar 06:53
c440fbc
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • refactor: remove hooks-extra/prefer-use-state-lazy-initialization from recommended presets by @Rel1cx in #1001

    Based 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)

20 Mar 03:48
0464cf2
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: hooks-extra/prefer-use-state-lazy-initialization false positive on useState(use(promise)) closes #999 by @Rel1cx in #1000

Full Changelog: v1.36.2...v1.36.3

v1.36.2 (2025-03-20)

19 Mar 21:19
b68f267
Compare
Choose a tag to compare

What's Changed

No notable changes have been made in this release.

Full Changelog: v1.36.1...v1.36.2