chore(deps): update dependency eslint-plugin-unicorn to v57 #2874
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:
^55.0.0
->^57.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v57.0.0
Compare Source
Breaking
c44ea26
c44ea26
New rules
consistent-date-clone
(#2544)8cebcf4
no-named-default
(#2538)ed8da1b
consistent-assert
(#2535)f3fc973
no-instanceof-builtins
8197574
41548c4
no-accessor-recursion
(#2525)92b5671
Improvements
no-instanceof-array
(#2534)c9c056c
no-instanceof-builtin-object
which covers more cases.prefer-includes
: Support Vue template (#2526)4e539b4
prevent-abbreviations
: Addutil
andutils
to abbreviations (#2507)5ba9f0a
prefer-math-min-max
: Ignore BigInt (#2467)8b7c5fc
prefer-global-this
: Also excludeouterWidth
andouterHeight
(#2549)8f00f76
prefer-at
: Remove unsafe autofix for.slice
with 1 argument (#2476)2985ecc
prefer-math-min-max
: Reduce false positives in TypeScript (#2527)1cbc561
prefer-string-raw
: IgnoreImportAttribute
(#2551)d963ccd
Fixes
new-for-builtins
: Correct fix forDate()
(#2543)e5e17f8
prefer-global-this
: Fix auto-fix fortypeof window
(#2501)b95dc12
v56.0.1
Compare Source
expiring-todo-comments
: Fix compatibility with ESLint 9.15 (#2497)16b09d3
v56.0.0
Compare Source
New rules
prefer-global-this
(#2410)1558cbe
prefer-math-min-max
(#2432)7369077
consistent-existence-index-check
(#2425)d3e4b80
Breaking
better-regex
from recommended rules (#2443)461b01c
Improvements
no-useless-undefined
: Ignore React 19useRef
calls (#2463)5f744e8
prefer-query-selector
: Add support forgetElementsByName
(#2398)e511ffd
prefer-string-slice
: Remove unsafe autofix forString#substr()
(#2427)891842d
no-for-loop
: Remove invalid fix for TypeScript (#2426)1e367bb
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.