Update dependency eslint-plugin-unicorn to v42 #4684
Merged
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:
41.0.1
->42.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn
v42.0.0
Compare Source
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)a8fb966
prefer-modern-math-apis
(#1780)6dfdeb0
no-unreadable-iife
(#1765)ce8a4b7
prefer-native-coercion-functions
(#1767)51166f4
Improvements
template-indent
: Set the ruleerror
instead ofwarn
inrecommended
preset (#1781)09923af
prefer-json-parse-buffer
: Remove fromrecommended
preset (#1750)93f49f2
no-array-for-each
: Add fixer for parenthesized call (#1784)5f39c37
no-array-for-each
: Handle optional chaining (#1753)1d32db4
prefer-object-from-entries
: Stop checking unknown cases (#1771)309771d
prefer-string-trim-start-end
: Check optional chaining (#1768)1920597
no-useless-undefined
: Ignore arguments inFunction#bind()
(#1762)c501243
prefer-ternary
: Skip fix if there are comments (#1763)3013565
text-encoding-identifier-case
: Auto-fix encoding infs.{readFile,readFileSync}()
(#1755)5e1c932
dist
anddst
abbreviations (#1756)dffcea8
Fixes
no-array-for-each
: HandleChainExpression
correctly (#1772)e615a37
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.