Closed renovate[bot] closed 3 years ago
Merging #320 (6d8a8c9) into master (a93fbff) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #320 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 484 484
Branches 91 91
=========================================
Hits 484 484
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 a93fbff...6d8a8c9. Read the comment docs.
This PR contains the following updates:
34.0.1
->35.0.0
Release Notes
sindresorhus/eslint-plugin-unicorn
### [`v35.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v35.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v34.0.1...v35.0.0) ##### New rules - [`prefer-object-from-entries`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-from-entries.md) ([#1308](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1308)) [`4a14187`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4a14187) - [`no-useless-length-check`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-length-check.md) ([#1398](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1398)) [`1107455`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1107455) - [`no-useless-spread`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-spread.md) ([#1401](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1401)) [`1463f52`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1463f52) ##### Breaking - `explicit-length-check`: Remove `greater-than-or-equal` option ([#1397](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1397)) [`db1a2b5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/db1a2b5) - It enabled a style that no one actually uses. ##### Improvements - `no-array-reduce`: Add [`allowSimpleOperations`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-reduce.md#allowsimpleoperations) option ([#1418](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1418)) [`153eb2c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/153eb2c) - `no-array-callback-reference`: Ignore jQuery methods ([#1457](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1457)) [`7af9a6f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7af9a6f) - `prevent-abbreviations`: Ignore `i18n` and `l10n` ([#1445](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1445)) [`efdd90e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/efdd90e) - `no-array-callback-reference`: Ignore mobx-state-tree usage ([#1455](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1455)) [`73c0dfd`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/73c0dfd) - `new-for-builtins`: Check `WeakRef` and `FinalizationRegistry` ([#1450](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1450)) [`fce9d1d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fce9d1d) - `no-zero-fractions`: Handle `.0` correctly ([#1444](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1444)) [`fcca35d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fcca35d) - `new-for-builtins`: Enforce `new` for `SharedArrayBuffer` and `Proxy` ([#1438](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1438)) [`2ba83ad`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2ba83ad) - `no-null`: Allow `Object.create(null, …)` ([#1432](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1432)) [`768f301`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/768f301) - `number-literal-case`: Support Vue SFC ([#1434](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1434)) [`ee9f609`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ee9f609) - `no-object-as-default-parameter`: Forbid destructuring ([#1433](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1433)) [`3fcc4bb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3fcc4bb) - `prefer-spread`: Better auto-fix ([#1426](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1426)) [`7bdf0dd`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7bdf0dd) - `prefer-array-some`: Check cases comparing `.find()` with `undefined` ([#1422](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1422)) [`3dc2f77`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3dc2f77) - `no-useless-spread`: Check useless "iterable to array" ([#1414](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1414)) [`61bc6a3`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/61bc6a3) - `prefer-dom-node-text-content`: Check destructuring, Use suggestion instead of auto-fix ([#1417](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1417)) [`c4bfc42`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c4bfc42) - `require-post-message-target-origin`: Disable for TypeScript files ([#1415](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1415)) [`741484a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/741484a) - `prefer-add-event-listener`: Update event types list ([#1412](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1412)) [`7f88b2f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7f88b2f) - `no-instanceof-array`: Support Vue SFC ([#1410](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1410)) [`3b22917`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3b22917) - `prevent-abbreviations`: Add `def` ([#1402](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1402)) [`f783472`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f783472) - `no-instanceof-array`: Improve report location ([#1389](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1389)) [`6512fbd`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6512fbd) - Use original quote when auto-fixing ([#1411](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1411)) [`bb81582`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/bb81582) ##### Fixes - `throw-new-error`: Fix an edge case ([#1390](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1390)) [`806831b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/806831b) - Fix cases without space after keywords ([#1436](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1436)) [`179b7df`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/179b7df)Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ 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.