chore(deps): update dependency eslint-plugin-unicorn to v53 - autoclosed #278
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:
^47.0.0
->^53.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)
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
v52.0.0
Compare Source
New rules
no-single-promise-in-promise-methods
(#2258)8f0ee89
no-await-in-promise-methods
(#2259)a3be554
no-anonymous-default-export
(#2273)c035216
Improvements
filename-case
: Add option for multiple file extensions (#2186)4594020
import-style
: Supportnode:
protocol (#2297)c28a086
prefer-array-find
: Checkarray.filter().at(0)
(#2284)e6074fe
prefer-prototype-methods
: CheckObject.prototype
methods fromglobalThis
(#2286)1792d33
no-array-callback-reference
: Check logical expressions and check ternaries deeply (#2289)231529a
Fixes
prefer-spread
: Fix it to not report on optional chaining (#2304)df1ff1c
no-anonymous-default-export
: Uppercase class name (#2282)5ce4169
v51.0.1
Compare Source
prefer-node-protocol
: Fix false positive onbun:*
modules (#2272)43fc638
v51.0.0
Compare Source
Breaking
consistent-destructuring
: Remove fromrecommended
preset (#2260)702d51b
Improvements
no-array-method-this-argument
: CheckArray.from()
(#2262)797caee
Fixes
no-thenable
: Fix crash on{[Symbol.prototype]: 0}
(#2248)3c7d7c0
prefer-prototype-methods
: Fix argument ofisMethodCall
(#2247)3b504fa
v50.0.1
Compare Source
Fixes
no-unnecessary-polyfills
: Fix missing dependency error (#2242)3df1606
v50.0.0
Compare Source
New rules
no-unnecessary-polyfills
(#1717)6788d86
Improvements
65711f9
no-useless-undefined
: AddcheckArrowFunctionBody
option (#2232)9d7048c
prefer-negative-index
: CheckTypedArray#subarray()
(#2237)6708a30
no-useless-undefined
: Ignore React state setters (#2223)42881ba
prefer-module
: Allowmodule
as TSTypeParameter name (#2213)8f61f7c
Fixes
string-content
: Fix JSX autofix for newlines, etc. (#2222)b95e75e
v49.0.0
Compare Source
Improvements
expiring-todo-comments
: Support monorepos (#2159)ac51d40
prefer-module
: Allowmodule
as TSIndexSignature names or TSTypeAliasDeclaration ids (#2209)ea94b3b
v
flag (#2195)28e7498
prefer-event-target
: IgnoreEventEmitter
from@angular/core
andeventemitter3
(#2197)1629ebe
v48.0.1
Compare Source
no-empty-file
: Fix directive check for TypeScript parser (#2180)1bb9ce8
v48.0.0
Compare Source
Improvements
no-unsafe-regex
rule (#2135)7b473aa
prefer-top-level-await
: Ignore promises insidePromise.{all,allSettled,any,race}()
(#2139)d3f6b60
no-process-exit
: Ignore when usingnode:worker_threads
module (#2136)2907805
prefer-array-some
: Ignore filter calls with literal argument (#2097)7a32edb
prefer-modern-math-api
: Check cases thatMath.hypot()
should be preferred (#2080)9bbc948
explicit-length-check
: Ignore.length || number
(#1977)b9b8794
Fixes
f10f1a6
prefer-dom-node-dataset
: Fix edge cases (#2171)b2d7378
prefer-dom-node-dataset
: Remove broken fix forelement.setAttribute
(#2169)61234af
no-lonely-if
: Fix an edge case (#2168)ca837a8
no-useless-undefined
: Turn parameter withundefined
default value into optional parameter (#2138)4aa7d60
no-thenable
: FixObject.fromEntries()
check (#2130)f3265b9
prefer-dom-node-remove
: Fix incorrect auto-fix (#2084)74bb36d
Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Berlin, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.