chore(deps): update dependency eslint-plugin-unicorn to v60 - autoclosed #416
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->^60.0.0Warning
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)
v60.0.0Compare Source
Breaking
2dc27d9New rules
prefer-class-fields(#2512)4c82dc1no-array-reverse(#2677)b051302require-module-specifiers(#2686)2a8e152no-useless-error-capture-stack-trace(#2676)fc900b6Improvements
prefer-string-replace-all: Preserve escape (#2667)2310b50SuppressedError(#2669)f51aeb9Fixes
no-array-callback-reference: Fix optional chaining expressions being ignored (#2694)ad27922no-unnecessary-await: Fix handling of experimental pipeline operator (#2658)2b8ebe5v59.0.1Compare Source
prefer-single-call: Fix crash onCallExpressionfollowed byFunctionDeclaration(#2639)3114dd9v59.0.0Compare Source
Breaking
no-array-push-pushrule toprefer-single-call(#2617)e117783no-length-as-slice-endrule tono-unnecessary-slice-end(#2614)1922df1New rules
prefer-import-meta-properties(#2607)1f6e172no-unnecessary-array-flat-depth(#2618)c63e698no-unnecessary-array-splice-count(#2614)1922df1Improvements
Float16Array(#2622)9e50568prefer-node-protocol: Supportprocess.getBuiltinModule()(#2611)056364dno-unnecessary-slice-end: Support checkingInfinity(#2614)1922df1v58.0.0Compare Source
Potentially breaking
engines.nodein package.json to match real compatibility (#2581)e48a620Improvements
escape-case: Add case option (#2559)0f6048cnumber-literal-case: AddhexadecimalValueoption (#2559)0f6048cprevent-abbreviations: PreserveiOS(#2560)e8798daFixes
no-unnecessary-polyfills: Fix browserslist field name (#2603)1a4c76fno-unnecessary-polyfills: Fix crash on checkinges6-errormodule (#2582)66de41ano-accessor-recursion: Fix exception when used in CommonJS (#2574)ca1e432v57.0.0Compare Source
Breaking
c44ea26c44ea26New rules
consistent-date-clone(#2544)8cebcf4no-named-default(#2538)ed8da1bconsistent-assert(#2535)f3fc973no-instanceof-builtins819757441548c4no-accessor-recursion(#2525)92b5671Improvements
no-instanceof-array(#2534)c9c056cno-instanceof-builtinswhich covers more cases.prefer-includes: Support Vue template (#2526)4e539b4prevent-abbreviations: Addutilandutilsto abbreviations (#2507)5ba9f0aprefer-math-min-max: Ignore BigInt (#2467)8b7c5fcprefer-global-this: Also excludeouterWidthandouterHeight(#2549)8f00f76prefer-at: Remove unsafe autofix for.slicewith 1 argument (#2476)2985eccprefer-math-min-max: Reduce false positives in TypeScript (#2527)1cbc561prefer-string-raw: IgnoreImportAttribute(#2551)d963ccdFixes
new-for-builtins: Correct fix forDate()(#2543)e5e17f8prefer-global-this: Fix auto-fix fortypeof window(#2501)b95dc12v56.0.1Compare Source
expiring-todo-comments: Fix compatibility with ESLint 9.15 (#2497)16b09d3v56.0.0Compare Source
New rules
prefer-global-this(#2410)1558cbeprefer-math-min-max(#2432)7369077consistent-existence-index-check(#2425)d3e4b80Breaking
better-regexfrom recommended rules (#2443)461b01cImprovements
no-useless-undefined: Ignore React 19useRefcalls (#2463)5f744e8prefer-query-selector: Add support forgetElementsByName(#2398)e511ffdprefer-string-slice: Remove unsafe autofix forString#substr()(#2427)891842dno-for-loop: Remove invalid fix for TypeScript (#2426)1e367bbConfiguration
📅 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.