chore(deps): update dependency eslint-plugin-unicorn to v56 #5777
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:
52.0.0
->56.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
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
v55.0.0
Compare Source
New rules
no-length-as-slice-end
(#2400)3c33820
Improvements
68e0f13
Fixes
no-single-promise-in-promise-methods
: Remove broken autofix forPromise.all()
(#2386)8d28b6e
prefer-node-protocol
: Ignore Bun modules (#2384)a45b24a
no-negation-in-equality-check
: Ignore boolean type casting (#2379)37e00dd
v54.0.0
Compare Source
New rules
no-negation-in-equality-check
(#2353)8957a03
Breaking
prefer-array-find
: ChangecheckFromLast
default value totrue
(#2367)a449af9
Improvements
ac8536e
prefer-array-some
: CheckArray#{findIndex,findLastIndex}()
(#2370)10568ab
prefer-includes
: Check.lastIndexOf()
(#2368)d812ad1
prefer-string-raw
: Ignore strings in Enums (#2354)175ea04
Fixes
new
to calls (#2352)d8f8161
v53.0.0
Compare Source
New rules
consistent-empty-array-spread
(#2349)8d7954c
prefer-string-raw
(#2339)4f1400a
no-invalid-fetch-options
(#2338)342aafb
no-magic-array-flat-depth
(#2335)bc17428
prefer-structured-clone
(#2329)497519e
Breaking
598f57b
Meta
b82542d
Improvements
598f57b
no-array-method-this-argument
: CheckArray.fromAsync()
(#2330)99489b9
prefer-number-properties
: AddcheckNaN
option (#2315)d30de50
template-indent
: Support member expression paths intags
andfunctions
(#2346)aabcf1d
prefer-number-properties
: Don't require by default forInfinity
/-Infinity
to be written asNumber.POSITIVE_INFINITY
/Number.NEGATIVE_INFINITY
(#2312)e0dfed2
escape-case
: IgnoreString.raw
(#2342)45bd444
no-hex-escape
: IgnoreString.raw
(#2343)cc02a7f
prefer-dom-node-dataset
: Ignoreawait
edgetAttribute
call (#2334)45f23d5
prevent-abbreviations
: Support non-ASCII filenames (#2308)28762c8
throw-new-error
: Check all call expressions instead of just argument ofThrowStatement
(#2332)1626852
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.