fix(deps): update dependency eslint-plugin-unicorn to v31 #27
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:
^29.0.0
->^31.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn
v31.0.0
Compare Source
New rules
prefer-node-protocol
(#1203)b1a5f53
prefer-module
(#1141)a7e393c
v30.0.0
Compare Source
New rules
prefer-switch
(#1181)10e7a0c
Breaking
prevent-abbreviations
: Rename options (#1164)cf42cc5
no-keyword-prefix
: Renameblacklist
option todisallowedPrefixes
(#1180)91e60d0
Improvements
no-array-push-push
: Addignore
option (#1168)f9262d9
prefer-spread
: Reportarray.slice(0)
(#1182)92bebe1
no-useless-undefined
: Handle parenthesizedundefined
(#1178)c88882e
no-array-for-each
: Improve fixable parameter detection (#1177)18d1ac2
prefer-array-flat-map
: ExcludeReact.Children.map().flat()
(#1159)3e6b6fb
better-regex
: Report parsing errors (#1133)51ee030
filename-case
: Uniquify suggestion filenames (#1160)a87238f
PropertyDefinition
(#1127)75c4d78
Fixes
prefer-number-properties
: Fix some edge cases (#1170)e7e25b8
prefer-number-properties
: Fix some edge cases (part 2) (#1176)3a58802
prefer-regexp-test
: Do not fix if regexp hasg
flag (#1173)8d97beb
no-array-for-each
: Do not fix if callback parameter has type annotation (#1167)0d4fc8b
no-useless-undefined
: Do not reportreturn undefined
if function hasreturnType
(#1165)4ff39e0
prefer-set-has
: Use suggestions if node has type annotation (#1158)1221185
no-null
: Exclude second argument ofNode.insertBefore()
(#1157)b16c316
prefer-add-event-listener
: Fix crash on parenthesized cases (#1153)c95e854
MemberExpression
check when usingecmaVersion: 2019
(#1151)56d5d9a
prefer-regexp-test
: Do not fix if argument ofString#match()
is known notRegExp
(#1152)0abc394
Configuration
📅 Schedule: "before 3am on Monday" in timezone Asia/Tokyo.
🚦 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.