chore(deps): update dependency eslint-plugin-unicorn to v61 #523
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:
^57.0.0->^61.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v61.0.2Compare Source
throw-new-error: Fix false positive for Effect library (#2740)0ddf5eano-useless-undefined: IgnoreSet#delete(undefined)(#2739)99acd27prefer-includesandprefer-array-index-of: Prevent crash on Vue files (#2645)a1da518v61.0.1Compare Source
prefer-classlist-toggle: OmitElement#classList.contains()call when fixing (#2732)066f96bv61.0.0Compare Source
New rules
prefer-bigint-literals(#2722)1f4cb8aprefer-classlist-toggle(#2731)5f27ec2require-module-attributes(#2725)5f275e2no-array-sort(#2713)b70d1e8Improvements
unopinionatedconfig (#2715)c13d09b60b2ec5no-array-reduce: Report optional chaining and calling of.reduce()(#2721)caa1f8bprefer-type-error: Ignore error type check (#2729)d12fc01Fixes
prefer-includes: Fix compatibility with Vue SFC (#2704)540a4d4v60.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)ca1e432Configuration
📅 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.