Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 41.0.0 to 42.0.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v42.0.0
The project has passed 100 lint rules
🎉 Thanks to everyone that has contributed so far.
And special thanks to our team member
@fisker
for doing most of the work on this project. We could not have gotten this far without him.New rules
no-useless-switch-case
(#1779) a8fb966prefer-modern-math-apis
(#1780) 6dfdeb0no-unreadable-iife
(#1765) ce8a4b7prefer-native-coercion-functions
(#1767) 51166f4Improvements
template-indent
: Set the ruleerror
instead ofwarn
inrecommended
preset (#1781) 09923afprefer-json-parse-buffer
: Remove fromrecommended
preset (#1750) 93f49f2no-array-for-each
: Add fixer for parenthesized call (#1784) 5f39c37no-array-for-each
: Handle optional chaining (#1753) 1d32db4prefer-object-from-entries
: Stop checking unknown cases (#1771) 309771dprefer-string-trim-start-end
: Check optional chaining (#1768) 1920597no-useless-undefined
: Ignore arguments inFunction#bind()
(#1762) c501243prefer-ternary
: Skip fix if there are comments (#1763) 3013565text-encoding-identifier-case
: Auto-fix encoding infs.{readFile,readFileSync}()
(#1755) 5e1c932- Add
dist
anddst
abbreviations (#1756) dffcea8Fixes
no-array-for-each
: HandleChainExpression
correctly (#1772) e615a37https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.1...v42.0.0
v41.0.1
relative-url-style
: Improve fix (#1748) f406795https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v41.0.0...v41.0.1
Commits
-
32ae436
42.0.0 -
5f39c37
no-array-for-each
: Add fix for parenthesized call (#1784) -
51166f4
Addprefer-native-coercion-functions
rule (#1767) -
1d32db4
no-array-for-each
: Handle optional chaining (#1753) -
a8fb966
Addno-useless-switch-case
rule (#1779) -
6dfdeb0
Addprefer-modern-math-apis
rule (#1780) -
ce8a4b7
Addno-unreadable-iife
rule (#1765) -
ea6f300
Changeforbid
wording everywhere -
28e369c
Usedisallow
instead offorbid
in rule descriptions (#1777) -
09923af
Settemplate-indent
rule toerror
instead ofwarn
(#1781) - Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)