Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 24.0.0 to 25.0.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v25.0.0
New rules
prefer-array-some(#887) b6a5a50prefer-default-parameters(#632) 8015768Renamed rules
We improved the naming and name consistency of some rules. Sorry about the churn.
If you use the recommended preset and you're not overriding any rules, you don't need to do anything.
no-fn-reference-in-iterator→no-array-callback-referenceno-array-instanceof→no-instanceof-arrayno-reduce→no-array-reduceprefer-dataset→prefer-dom-node-datasetprefer-flat-map→prefer-array-flat-mapprefer-replace-all→prefer-string-replace-allprefer-starts-ends-with→prefer-string-starts-ends-withprefer-text-content→prefer-dom-node-text-contentprefer-trim-start-end→prefer-string-trim-start-endprefer-event-key→prefer-keyboard-event-keyprefer-node-append→prefer-dom-node-appendprefer-node-remove→prefer-dom-node-remove20c6341
Improvements
explicit-length-check: Make rule work in many more cases (#943) f3bc798explicit-length-check: Check unsafeLogicalExpressions (#952) a1b60adexplicit-length-check: CheckBoolean(foo.length)(#951) f4577f7explicit-length-check: Check more cases (#941) 83a6453new-for-builtins: IgnoreObject(x) === xandObject(x) !== x(#944) 5c7ea92explicit-length-check: Rewrite rule (#938) 94ae87ahttps://github.com/sindresorhus/eslint-plugin-unicorn/compare/v24.0.0...v25.0.0
Commits
-
739217425.0.0 -
20c6341Rename rules (#959) -
e1e4e94Add repository failing smoke tests (#965) -
b6a5a50Addprefer-array-somerule (#887) -
72e0390Simplify rule deprecation (#956) -
a1b60adexplicit-length-check: Check unsafeLogicalExpressions (#952) -
f4577f7explicit-length-check: CheckBoolean(foo.length)(#951) -
582ca34Refactorexplicit-length-check(#950) -
f3bc798explicit-length-check: Make rule work in many more cases (#943) -
5c7ea92new-for-builtins: IgnoreObject(x) === xandObject(x) !== x(#944) - 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)