chore(deps): update dependency eslint-plugin-unicorn to v26 #152
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.
This PR contains the following updates:
24.0.0
->26.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn
v26.0.0
Compare Source
New rules
no-new-array
(#992)48390c1
prefer-array-index-of
(#920)517a782
prefer-regexp-test
(#970)7b74b40
consistent-destructuring
(#325)32bd31c
Improvements
import-index
rule from recommended preset (#977)ff1cd2e
prefer-string-starts-ends-with
: Remove check onString#match()
(#1002)c9fa8b1
no-array-callback-reference
: IgnoreAwaitExpression
exceptreduce
andreduceRight
(#814)4c2b00b
Fixes
prefer-string-starts-ends-with
: Fix missing parentheses for some cases (#976)e2f94fe
??
operator LogicExpression as aboolean
value node (#986)dc7f79b
v25.0.1
Compare Source
9921acc
v25.0.0
Compare Source
New rules
prefer-array-some
(#887)b6a5a50
prefer-default-parameters
(#632)8015768
Renamed 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-reference
no-array-instanceof
→no-instanceof-array
no-reduce
→no-array-reduce
prefer-dataset
→prefer-dom-node-dataset
prefer-flat-map
→prefer-array-flat-map
prefer-replace-all
→prefer-string-replace-all
prefer-starts-ends-with
→prefer-string-starts-ends-with
prefer-text-content
→prefer-dom-node-text-content
prefer-trim-start-end
→prefer-string-trim-start-end
prefer-event-key
→prefer-keyboard-event-key
prefer-node-append
→prefer-dom-node-append
prefer-node-remove
→prefer-dom-node-remove
20c6341
Improvements
explicit-length-check
: Make rule work in many more cases (#943)f3bc798
explicit-length-check
: Check unsafeLogicalExpression
s (#952)a1b60ad
explicit-length-check
: CheckBoolean(foo.length)
(#951)f4577f7
explicit-length-check
: Check more cases (#941)83a6453
new-for-builtins
: IgnoreObject(x) === x
andObject(x) !== x
(#944)5c7ea92
explicit-length-check
: Rewrite rule (#938)94ae87a
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.