Update dependency eslint-plugin-unicorn to v31 #30
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.0Release Notes
sindresorhus/eslint-plugin-unicorn
v31.0.0Compare Source
New rules
prefer-node-protocol(#1203)b1a5f53prefer-module(#1141)a7e393cv30.0.0Compare Source
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)a87238fPropertyDefinition(#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)c95e854MemberExpressioncheck when usingecmaVersion: 2019(#1151)56d5d9aprefer-regexp-test: Do not fix if argument ofString#match()is known notRegExp(#1152)0abc394Configuration
📅 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.