AlexRogalskiy / proverbs

🎲 Styled Proverbs API
https://styled-proverbs.vercel.app
GNU General Public License v3.0
5 stars 1 forks source link

:arrow_up: Updates eslint-plugin-unicorn to v38 - autoclosed #946

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-unicorn ^34.0.1 -> 38.0.1 age adoption passing confidence

Release Notes

sindresorhus/eslint-plugin-unicorn ### [`v38.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v38.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v38.0.0...v38.0.1) - `prefer-export-from`: Ignore variables with type ([#​1580](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1580)) [`ea49b21`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ea49b21) ### [`v38.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v38.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v37.0.1...v38.0.0) ##### New rules - [`no-empty-file`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-empty-file.md) ([#​1506](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1506)) [`a2ba25e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a2ba25e) - [`prefer-export-from`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-export-from.md) ([#​1453](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1453)) [`ff43745`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ff43745) ##### Improvements - Ignore Ramda methods in rules ([#​1557](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1557)) [`5f3bad5`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5f3bad5) - `no-array-callback-reference`: Only ignore `Boolean` in reasonable places ([#​1570](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1570)) [`46f8638`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/46f8638) - `require-array-join-separator`: Check optional member ([#​1569](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1569)) [`15f9028`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/15f9028) ### [`v37.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v37.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v37.0.0...v37.0.1) - Fix compatibility with ESLint 7 ([#​1548](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1548)) [`e6cee0f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e6cee0f) ### [`v37.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v37.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v36.0.0...v37.0.0) ##### New rules - [`template-indent`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/template-indent.md) ([#​1478](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1478)) [`5f4c440`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5f4c440) ##### Improvements - Support ESLint 8 ([#​1488](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1488)) [`e97ab7e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/e97ab7e) - Use `'latest'` as `ecmaVersion` ([#​1465](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1465)) [`9feb181`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9feb181) ### [`v36.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v36.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v35.0.0...v36.0.0) ##### New rules - [`no-useless-fallback-in-spread`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-fallback-in-spread.md) ([#​1481](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1481)) [`1675118`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/1675118) - [`no-invalid-remove-event-listener`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-remove-event-listener.md) ([#​1216](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1216)) [`f0ff04d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f0ff04d) ##### Improvements - Add [`all`](https://togithub.com/sindresorhus/eslint-plugin-unicorn#all-config) config ([#​1512](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1512)) [`a512ad1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a512ad1) - This config includes all the rules, except deprecated ones. - `prefer-spread`: Check `String#split('')` ([#​1489](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1489)) [`d51a197`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d51a197) - `prefer-module`: Use suggestions for `'use strict'` directive ([#​1470](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1470)) [`57c7906`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/57c7906) - `error-message`: Handle shadowed `Error` constructor ([#​1496](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1496)) [`fdadd88`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fdadd88) ##### Fixes - `prefer-spread`: Fix false negative on array constants ([#​1474](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1474)) [`4162145`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/4162145) ### [`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: "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, 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.

changelogg[bot] commented 3 years ago

Hey! Changelogs info seems to be missing or might be in incorrect format. Please use the below template in PR description to ensure Changelogg can detect your changes:

    - (tag) changelog_text
or
```
- tag: changelog_text
```
**OR**
You can add tag in PR header or while doing a commit too
```    
(tag) PR header
```
or
```
tag: PR header
```
Valid tags: **added** / **feat**, **changed**, **deprecated**, **fixed** / **fix**, **removed**, **security**, **build**, **ci**, **chore**, **docs**, **perf**, **refactor**, **revert**, **style**, **test**
Thanks!
For more info, check out [changelogg docs](https://docs.changelogg.io/)
github-actions[bot] commented 3 years ago

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

github-actions[bot] commented 3 years ago

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

github-actions[bot] commented 3 years ago

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

codecov-commenter commented 3 years ago

Codecov Report

Merging #946 (26de866) into master (df53245) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #946   +/-   ##
=======================================
  Coverage   88.07%   88.07%           
=======================================
  Files           7        7           
  Lines         679      679           
  Branches       36       36           
=======================================
  Hits          598      598           
  Misses         81       81           

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 df53245...26de866. Read the comment docs.