Closed renovate[bot] closed 3 years ago
Merging #284 (55c5542) into master (1fb120f) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #284 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 479 479
Branches 105 105
=========================================
Hits 479 479
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 1fb120f...55c5542. Read the comment docs.
This PR contains the following updates:
29.0.0
->31.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn
### [`v31.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v31.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v30.0.0...v31.0.0) #### New rules - [`prefer-node-protocol`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md) ([#1203](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1203)) [`b1a5f53`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b1a5f53) - [`prefer-module`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-module.md) ([#1141](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1141)) [`a7e393c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a7e393c) ### [`v30.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v30.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v29.0.0...v30.0.0) ##### New rules - [`prefer-switch`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-switch.md) ([#1181](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1181)) [`10e7a0c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/10e7a0c) ##### Breaking - `prevent-abbreviations`: Rename options ([#1164](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1164)) [`cf42cc5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/cf42cc5) - `no-keyword-prefix`: Rename `blacklist` option to `disallowedPrefixes` ([#1180](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1180)) [`91e60d0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/91e60d0) ##### Improvements - `no-array-push-push`: Add `ignore` option ([#1168](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1168)) [`f9262d9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f9262d9) - `prefer-spread`: Report `array.slice(0)` ([#1182](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1182)) [`92bebe1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/92bebe1) - `no-useless-undefined`: Handle parenthesized `undefined` ([#1178](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1178)) [`c88882e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c88882e) - `no-array-for-each`: Improve fixable parameter detection ([#1177](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1177)) [`18d1ac2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/18d1ac2) - `prefer-array-flat-map`: Exclude `React.Children.map().flat()` ([#1159](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1159)) [`3e6b6fb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3e6b6fb) - `better-regex`: Report parsing errors ([#1133](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1133)) [`51ee030`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/51ee030) - `filename-case`: Uniquify suggestion filenames ([#1160](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1160)) [`a87238f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a87238f) - Support `PropertyDefinition` ([#1127](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1127)) [`75c4d78`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/75c4d78) ##### Fixes - `prefer-number-properties`: Fix some edge cases ([#1170](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1170)) [`e7e25b8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e7e25b8) - `prefer-number-properties`: Fix some edge cases (part 2) ([#1176](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1176)) [`3a58802`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3a58802) - `prefer-regexp-test`: Do not fix if regexp has `g` flag ([#1173](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1173)) [`8d97beb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8d97beb) - `no-array-for-each`: Do not fix if callback parameter has type annotation ([#1167](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1167)) [`0d4fc8b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0d4fc8b) - `no-useless-undefined`: Do not report `return undefined` if function has `returnType` ([#1165](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1165)) [`4ff39e0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4ff39e0) - `prefer-set-has`: Use suggestions if node has type annotation ([#1158](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1158)) [`1221185`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1221185) - `no-null`: Exclude second argument of `Node.insertBefore()` ([#1157](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1157)) [`b16c316`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b16c316) - `prefer-add-event-listener`: Fix crash on parenthesized cases ([#1153](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1153)) [`c95e854`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c95e854) - Fix optional `MemberExpression` check when using `ecmaVersion: 2019` ([#1151](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1151)) [`56d5d9a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/56d5d9a) - `prefer-regexp-test`: Do not fix if argument of `String#match()` is known not `RegExp` ([#1152](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1152)) [`0abc394`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0abc394)Configuration
:date: Schedule: "before 3am on Monday" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: 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.