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: Renameblacklistoption todisallowedPrefixes(#1180) 91e60d0Improvements
no-array-push-push: Addignoreoption (#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 hasgflag (#1173) 8d97bebno-array-for-each: Do not fix if callback parameter has type annotation (#1167) 0d4fc8bno-useless-undefined: Do not reportreturn undefinedif 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
MemberExpressioncheck 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
-
0af4c7230.0.0 -
10e7a0cAddprefer-switchrule (#1181) -
3521a0aUpdateeslint-plugin-eslint-plugin(#1185) -
c88882eno-useless-undefined: Handle parenthesizedundefined(#1178) -
92bebe1prefer-spread: Reportarray.slice(0)(#1182) -
f969970Add JSDoc to rule template (#1183) -
42cfd8eUpdatecreate-rulescript (#1184) -
91e60d0no-keyword-prefix: Renameblacklistoption todisallowedPrefixes(#1180) -
de2602eUse@babel/eslint-parserin integration tests (#1179) -
ccda941Add 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 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)