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-parserby @Rel1cx - docs: add setup example for
ts-blank-eslint-parserby @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-apisconfigs, 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-valueandno-unstable-default-propsby @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
jsxPragmaandjsxPragmaFragsettings to perform their checks by @Rel1cx in #893 - refactor: improve applicability of the
no-useless-fragmentandprefer-shorthand-fragmentrules - refactor: deprecate
settings["react-x"].jsxPragmaandsettings["react-x"].jsxPragmaFragas they are no longer needed by any rules - refactor: replace
short-unique-idw/uidby @SukkaW in #894
🐞 Fixes
- fix(plugins/hooks-extra): fix
callandnewexpression related false positives inno-unnecessary-use-memoandno-unnecessary-use-callbackby @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.jsexamples 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-varstouse-jsx-vars - refactor(plugins/x): rename
jsx-no-duplicate-propstono-duplicate-jsx-props - refactor(plugins/dom): rename
no-children-in-void-dom-elementstono-void-elements-with-children
📝 Changes you should be aware of
The following rules have been renamed:
jsx-uses-varstouse-jsx-varsjsx-no-duplicate-propstono-duplicate-jsx-propsdom/no-children-in-void-dom-elementstodom/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