Releases: Rel1cx/eslint-react
v1.26.0 (2025-01-31)
v1.25.0 (2025-01-27)
What's Changed
✨ New
- feat(no-useless-fragment): auto fix support, closes #899 by @hyoban in #926
- docs: add setup guide for
ts-blank-eslint-parser
by @Rel1cx - docs: add setup example for
ts-blank-eslint-parser
by @Rel1cx
🐞 Fixes
🪄 Improvements
Full Changelog: v1.24.1...v1.25.0
v1.24.1 (2025-01-22)
What's Changed
🐞 Fixes
- fix: fixed invalid rules for
disable-debug
,disable-dom
, anddisable-web-apis
configs, closes #923 by @Rel1cx in #924
Full Changelog: v1.24.0...v1.24.1
v1.24.0 (2025-01-21)
What's Changed
🪄 Improvements
- perf: overhaul performance optimizations
Full Changelog: v1.23.2...v1.24.0
v1.23.2 (2025-01-07)
v1.23.1 (2025-01-03)
What's Changed
🐞 Fixes
- fix(plugins/x): fixed false positives in
no-unstable-context-value
andno-unstable-default-props
by @Rel1cx in #896
Full Changelog: v1.23.0...v1.23.1
v1.23.0
What's Changed
🪄 Improvements
- refactor: JSX fragments related rules no longer rely on
jsxPragma
andjsxPragmaFrag
settings to perform their checks by @Rel1cx in #893 - refactor: improve applicability of the
no-useless-fragment
andprefer-shorthand-fragment
rules - refactor: deprecate
settings["react-x"].jsxPragma
andsettings["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
andnew
expression related false positives inno-unnecessary-use-memo
andno-unnecessary-use-callback
by @Rel1cx in #895
Full Changelog: v1.22.2...v1.23.0
v1.22.2
v1.22.1
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
What's Changed
🪄 Improvements
- refactor(plugins/x): rename
jsx-use-vars
touse-jsx-vars
- refactor(plugins/x): rename
jsx-no-duplicate-props
tono-duplicate-jsx-props
- refactor(plugins/dom): rename
no-children-in-void-dom-elements
tono-void-elements-with-children
📝 Changes you should be aware of
The following rules have been renamed:
jsx-uses-vars
touse-jsx-vars
jsx-no-duplicate-props
tono-duplicate-jsx-props
dom/no-children-in-void-dom-elements
todom/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