chore(deps): update dependency eslint-plugin-unicorn to v61 #429
+151
−84
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^55.0.0
->^61.0.2
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v61.0.2
Compare Source
throw-new-error
: Fix false positive for Effect library (#2740)0ddf5ea
no-useless-undefined
: IgnoreSet#delete(undefined)
(#2739)99acd27
prefer-includes
andprefer-array-index-of
: Prevent crash on Vue files (#2645)a1da518
v61.0.1
Compare Source
prefer-classlist-toggle
: OmitElement#classList.contains()
call when fixing (#2732)066f96b
v61.0.0
Compare Source
New rules
prefer-bigint-literals
(#2722)1f4cb8a
prefer-classlist-toggle
(#2731)5f27ec2
require-module-attributes
(#2725)5f275e2
no-array-sort
(#2713)b70d1e8
Improvements
unopinionated
config (#2715)c13d09b
60b2ec5
no-array-reduce
: Report optional chaining and calling of.reduce()
(#2721)caa1f8b
prefer-type-error
: Ignore error type check (#2729)d12fc01
Fixes
prefer-includes
: Fix compatibility with Vue SFC (#2704)540a4d4
v60.0.0
Compare Source
Breaking
2dc27d9
New rules
prefer-class-fields
(#2512)4c82dc1
no-array-reverse
(#2677)b051302
require-module-specifiers
(#2686)2a8e152
no-useless-error-capture-stack-trace
(#2676)fc900b6
Improvements
prefer-string-replace-all
: Preserve escape (#2667)2310b50
SuppressedError
(#2669)f51aeb9
Fixes
no-array-callback-reference
: Fix optional chaining expressions being ignored (#2694)ad27922
no-unnecessary-await
: Fix handling of experimental pipeline operator (#2658)2b8ebe5
v59.0.1
Compare Source
prefer-single-call
: Fix crash onCallExpression
followed byFunctionDeclaration
(#2639)3114dd9
v59.0.0
Compare Source
Breaking
no-array-push-push
rule toprefer-single-call
(#2617)e117783
no-length-as-slice-end
rule tono-unnecessary-slice-end
(#2614)1922df1
New rules
prefer-import-meta-properties
(#2607)1f6e172
no-unnecessary-array-flat-depth
(#2618)c63e698
no-unnecessary-array-splice-count
(#2614)1922df1
Improvements
Float16Array
(#2622)9e50568
prefer-node-protocol
: Supportprocess.getBuiltinModule()
(#2611)056364d
no-unnecessary-slice-end
: Support checkingInfinity
(#2614)1922df1
v58.0.0
Compare Source
Potentially breaking
engines.node
in package.json to match real compatibility (#2581)e48a620
Improvements
escape-case
: Add case option (#2559)0f6048c
number-literal-case
: AddhexadecimalValue
option (#2559)0f6048c
prevent-abbreviations
: PreserveiOS
(#2560)e8798da
Fixes
no-unnecessary-polyfills
: Fix browserslist field name (#2603)1a4c76f
no-unnecessary-polyfills
: Fix crash on checkinges6-error
module (#2582)66de41a
no-accessor-recursion
: Fix exception when used in CommonJS (#2574)ca1e432
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-builtins
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 - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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.