Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 23.0.0 to 24.0.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v24.0.0
New rules
no-lonely-if
(#936) 485dbf9empty-brace-spaces
(#933) c137daaprefer-date-now
(#935) d0c4826Improvements
prevent-abbreviations
: Addignore
option (#891) 898fcb4no-useless-undefined
: AddcheckArguments
option (#877) a1617b9consistent-function-scoping
: Allow ignoring arrow functions (#932) 17bf27c- Rewrite
error-message
rule (#922) 877bef9- Improve
prefer-query-selector
rule (#908) 635601dprevent-abbreviations
: Addvar
/vars
replacements (#894) 07dadf5prevent-abbreviations
: Addver
→version
replacement (#870) e755cddprefer-number-properties
: Supportcomputed
key ofClassProperty
MethodDefinition
Property
(#886) 769ac35prefer-optional-catch-binding
: Improve output (#884) 375d11ano-null
: ExcludeuseRef(null)
andReact.useRef(null)
(#890) 7a4dbf4prefer-number-properties
: AddInfinity
support (#874) 643169bno-console-spaces
: Improve report location (#866) 190cbacno-useless-undefined
: IgnoretoHaveBeenCalledWith
method (#876) d10a641prefer-replace-all
: Handleu
flag (#879) d98d867no-for-loop
: Improve output when using the TypeScript parser (#883) 52edd3bno-for-loop
: Respect declaration kind (#878) df3f7bdno-for-loop
: Only report on the for loop head part (#885) e9c6963Fixes
- Fix
false
import styles seen in reported problem messages (#910) d669707import-style
: Fix crash onbabel-eslint
parser (#927) 9f5f721prevent-abbreviations
: Fix crash with TypeScript parser (#913) 9d5eca6prefer-query-selector
: Fix crash on calling without argument (#906) 36908daimport-style
: Fix crash on destructing require (#904) 8335d41new-for-builtins
: Remove auto-fix fornew String
,new Boolean()
, andnew Number()
(#907) dfc1ce0https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v23.0.0...v24.0.0
Commits
-
25fd5ec
24.0.0 -
86fde06
Update dev dependencies -
485dbf9
Addno-lonely-if
rule (#936) -
bf941a1
Adds weekly scheduled smoke tests (#923) -
c137daa
Addempty-brace-spaces
rule (#933) -
90fc7b0
prefer-ternary
: Refactor to use ESLint recommended way to extend fix range ... -
d0c4826
Addprefer-date-now
rule (#935) -
2ecc766
Updatecreate-rule
script to allow choosing fixable "whitespace" (#934) -
17bf27c
consistent-function-scoping
: Allow ignoring arrow functions (#932) -
898fcb4
prevent-abbreviations
: Addignore
option (#891) - 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)