Skip to content

Releases: Rel1cx/eslint-react

v1.26.0 (2025-01-31)

30 Jan 23:10
abb9166
Compare
Choose a tag to compare

What's Changed

✨ New

Full Changelog: v1.25.0...v1.26.0

v1.25.0 (2025-01-27)

27 Jan 13:04
c9b2471
Compare
Choose a tag to compare

What's Changed

✨ New

🐞 Fixes

🪄 Improvements

  • refactor(website): switch from nextra to fumadocs by @Rel1cx in #928

Full Changelog: v1.24.1...v1.25.0

v1.24.1 (2025-01-22)

22 Jan 01:57
3cb80a7
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix: fixed invalid rules for disable-debug, disable-dom, and disable-web-apis configs, closes #923 by @Rel1cx in #924

Full Changelog: v1.24.0...v1.24.1

v1.24.0 (2025-01-21)

20 Jan 16:27
9d370df
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • perf: overhaul performance optimizations

Full Changelog: v1.23.2...v1.24.0

v1.23.2 (2025-01-07)

07 Jan 03:30
6f563be
Compare
Choose a tag to compare

What's Changed

✨ New

  • feat(plugins/x): add auto-fix to prefer-shorthand-fragment, closes #898 (#902)

Full Changelog: v1.23.1...v1.23.2

v1.23.1 (2025-01-03)

02 Jan 22:12
51e9171
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • fix(plugins/x): fixed false positives in no-unstable-context-value and no-unstable-default-props by @Rel1cx in #896

Full Changelog: v1.23.0...v1.23.1

v1.23.0

31 Dec 10:41
8182809
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • refactor: JSX fragments related rules no longer rely on jsxPragma and jsxPragmaFrag settings to perform their checks by @Rel1cx in #893
  • refactor: improve applicability of the no-useless-fragment and prefer-shorthand-fragment rules
  • refactor: deprecate settings["react-x"].jsxPragma and settings["react-x"].jsxPragmaFrag as they are no longer needed by any rules
  • refactor: replace short-unique-id w/ uid by @SukkaW in #894

🐞 Fixes

  • fix(plugins/hooks-extra): fix call and new expression related false positives in no-unnecessary-use-memo and no-unnecessary-use-callback by @Rel1cx in #895

Full Changelog: v1.22.2...v1.23.0

v1.22.2

30 Dec 12:03
ca79f16
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • perf: re-implement no-duplicate-key rule to improve its performance @Rel1cx in #891 and 33ab3cc
  • refactor: prevent potential interference from TypeScript's as, satisfies, and non-null assertion operator in various rules

v1.22.1

23 Dec 21:28
f63bcc8
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • docs: add getting started guides for JavaScript, TypeScript, and JavaScript with Babel
  • docs: improve code samples in rules docs
  • docs: improve eslint.config.js examples in README.md, docs and the examples folder
  • docs: improve the error message and description of various rules
  • refactor(website): better website layout and navigation experience

📝 Changes in examples

The eslint.config.js in the examples now uses tsconfig's includes and excludes as the SSoT glob patterns for ESLint's files and ignores fields. This approach can fundamentally avoid the errors[1, 2, 3] caused by mismatched config scopes between tsconfig.json and eslint.config.js when using type-checked rules.

Full Changelog: v1.22.0...v1.22.1

v1.22.0

21 Dec 23:30
c55945e
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • refactor(plugins/x): rename jsx-use-vars to use-jsx-vars
  • refactor(plugins/x): rename jsx-no-duplicate-props to no-duplicate-jsx-props
  • refactor(plugins/dom): rename no-children-in-void-dom-elements to no-void-elements-with-children

📝 Changes you should be aware of

The following rules have been renamed:

  • jsx-uses-vars to use-jsx-vars
  • jsx-no-duplicate-props to no-duplicate-jsx-props
  • dom/no-children-in-void-dom-elements to dom/no-void-elements-with-children

The new rule names are aligned with the same rules in the biomejs/rules-sources/#eslint-plugin-react (if any) to enhance consistency. The old rule names will still be available until the next major update to avoid breaking changes.

Full Changelog: v1.21.0...v1.22.0