Update dependency eslint-plugin-unicorn to v52
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-unicorn | devDependencies | major | ^48.0.1 -> ^52.0.0 |
Release Notes
sindresorhus/eslint-plugin-unicorn
v52.0.0
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
v51.0.0
Breaking
Improvements
Fixes
-
no-thenable
: Fix crash on{[Symbol.prototype]: 0}
(#2248)3c7d7c0
-
prefer-prototype-methods
: Fix argument ofisMethodCall
(#2247)3b504fa
v50.0.1
Fixes
v50.0.0
New rules
Improvements
- Support ESLint's new config system (#1886)
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
v49.0.0
Improvements
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.