chore(deps): update dependency @eslint-react/eslint-plugin to ^1.23.1 #519
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.20.1->^1.23.1Release Notes
rEl1cx/eslint-react (@eslint-react/eslint-plugin)
v1.23.1Compare Source
🐞 Fixes
no-unstable-context-valueandno-unstable-default-propsby @rEl1cx in #896v1.23.0Compare Source
🪄 Improvements
jsxPragmaandjsxPragmaFragsettings to perform their checks by @rEl1cx in #893no-useless-fragmentandprefer-shorthand-fragmentrulessettings["react-x"].jsxPragmaandsettings["react-x"].jsxPragmaFragas they are no longer needed by any rulesshort-unique-idw/uidby @SukkaW in #894🐞 Fixes
callandnewexpression related false positives inno-unnecessary-use-memoandno-unnecessary-use-callbackby @rEl1cx in #895v1.22.2Compare Source
🪄 Improvements
no-duplicate-keyrule to improve its performance @rEl1cx in #891 and 33ab3ccas,satisfies, and non-null assertion operator in various rulesv1.22.1Compare Source
🪄 Improvements
eslint.config.jsexamples in README.md, docs and the examples folder.📝 Changes in examples
The
eslint.config.jsin the examples now usestsconfig'sincludesandexcludesas the SSoT glob patterns for ESLint'sfilesandignoresfields.This approach can fundamentally avoid the errors[1, 2, 3] caused by mismatched config scopes between
tsconfig.jsonandeslint.config.jswhen using type-checked rules.v1.22.0Compare Source
🪄 Improvements
jsx-use-varstouse-jsx-vars.jsx-no-duplicate-propstono-duplicate-jsx-props.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-vars.jsx-no-duplicate-propstono-duplicate-jsx-props.dom/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.
v1.21.0Compare Source
✨ New
no-useless-custom-hooksrule by @rEl1cx🪄 Improvements
no-redundant-custom-hookin favor ofno-useless-custom-hooks(the previous rule will still be available until the next major update to avoid breaking changes).📝 Changes in Rule implementation
no-useless-custom-hooksnow detects Hook calls within comments and the following code no longer triggers a warning:Configuration
📅 Schedule: Branch creation - "after 9pm,before 9am" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.