Created by: dependabot[bot]
Bumps eslint-plugin-unicorn from 29.0.0 to 30.0.0.
Release notes
Sourced from eslint-plugin-unicorn's releases.
v30.0.0
New rules
prefer-switch
(#1181) 10e7a0cBreaking
prevent-abbreviations
: Rename options (#1164) cf42cc5no-keyword-prefix
: Renameblacklist
option todisallowedPrefixes
(#1180) 91e60d0Improvements
no-array-push-push
: Addignore
option (#1168) f9262d9prefer-spread
: Reportarray.slice(0)
(#1182) 92bebe1no-useless-undefined
: Handle parenthesizedundefined
(#1178) c88882eno-array-for-each
: Improve fixable parameter detection (#1177) 18d1ac2prefer-array-flat-map
: ExcludeReact.Children.map().flat()
(#1159) 3e6b6fbbetter-regex
: Report parsing errors (#1133) 51ee030filename-case
: Uniquify suggestion filenames (#1160) a87238f- Support
PropertyDefinition
(#1127) 75c4d78Fixes
prefer-number-properties
: Fix some edge cases (#1170) e7e25b8prefer-number-properties
: Fix some edge cases (part 2) (#1176) 3a58802prefer-regexp-test
: Do not fix if regexp hasg
flag (#1173) 8d97bebno-array-for-each
: Do not fix if callback parameter has type annotation (#1167) 0d4fc8bno-useless-undefined
: Do not reportreturn undefined
if function hasreturnType
(#1165) 4ff39e0prefer-set-has
: Use suggestions if node has type annotation (#1158) 1221185no-null
: Exclude second argument ofNode.insertBefore()
(#1157) b16c316prefer-add-event-listener
: Fix crash on parenthesized cases (#1153) c95e854- Fix optional
MemberExpression
check when usingecmaVersion: 2019
(#1151) 56d5d9aprefer-regexp-test
: Do not fix if argument ofString#match()
is known notRegExp
(#1152) 0abc394https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v29.0.0...v30.0.0
Commits
-
0af4c72
30.0.0 -
10e7a0c
Addprefer-switch
rule (#1181) -
3521a0a
Updateeslint-plugin-eslint-plugin
(#1185) -
c88882e
no-useless-undefined
: Handle parenthesizedundefined
(#1178) -
92bebe1
prefer-spread
: Reportarray.slice(0)
(#1182) -
f969970
Add JSDoc to rule template (#1183) -
42cfd8e
Updatecreate-rule
script (#1184) -
91e60d0
no-keyword-prefix
: Renameblacklist
option todisallowedPrefixes
(#1180) -
de2602e
Use@babel/eslint-parser
in integration tests (#1179) -
ccda941
Add auto-generated rules table to the readme (#1155) - 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)