[Snyk] Upgrade eslint-plugin-unicorn from 52.0.0 to 54.0.0 #10
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.
Snyk has created this PR to upgrade eslint-plugin-unicorn from 52.0.0 to 54.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 2 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: eslint-plugin-unicorn
New rules
no-negation-in-equality-check
(#2353) 8957a03Breaking
prefer-array-find
: ChangecheckFromLast
default value totrue
(#2367) a449af9Improvements
prefer-array-some
: CheckArray#{findIndex,findLastIndex}()
(#2370) 10568abprefer-includes
: Check.lastIndexOf()
(#2368) d812ad1prefer-string-raw
: Ignore strings in Enums (#2354) 175ea04Fixes
new
to calls (#2352) d8f8161v53.0.0...v54.0.0
New rules
consistent-empty-array-spread
(#2349) 8d7954cprefer-string-raw
(#2339) 4f1400ano-invalid-fetch-options
(#2338) 342aafbno-magic-array-flat-depth
(#2335) bc17428prefer-structured-clone
(#2329) 497519eBreaking
Meta
Improvements
no-array-method-this-argument
: CheckArray.fromAsync()
(#2330) 99489b9prefer-number-properties
: AddcheckNaN
option (#2315) d30de50template-indent
: Support member expression paths intags
andfunctions
(#2346) aabcf1dprefer-number-properties
: Don't require by default forInfinity
/-Infinity
to be written asNumber.POSITIVE_INFINITY
/Number.NEGATIVE_INFINITY
(#2312) e0dfed2escape-case
: IgnoreString.raw
(#2342) 45bd444no-hex-escape
: IgnoreString.raw
(#2343) cc02a7fprefer-dom-node-dataset
: Ignoreawait
edgetAttribute
call (#2334) 45f23d5prevent-abbreviations
: Support non-ASCII filenames (#2308) 28762c8throw-new-error
: Check all call expressions instead of just argument ofThrowStatement
(#2332) 1626852v52.0.0...v53.0.0
New rules
no-single-promise-in-promise-methods
(#2258) 8f0ee89no-await-in-promise-methods
(#2259) a3be554no-anonymous-default-export
(#2273) c035216Improvements
filename-case
: Add option for multiple file extensions (#2186) 4594020import-style
: Supportnode:
protocol (#2297) c28a086prefer-array-find
: Checkarray.filter().at(0)
(#2284) e6074feprefer-prototype-methods
: CheckObject.prototype
methods fromglobalThis
(#2286) 1792d33no-array-callback-reference
: Check logical expressions and check ternaries deeply (#2289) 231529aFixes
prefer-spread
: Fix it to not report on optional chaining (#2304) df1ff1cno-anonymous-default-export
: Uppercase class name (#2282) 5ce4169v51.0.1...v52.0.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: