Closed renovate[bot] closed 5 years ago
This PR contains the following updates:
4.0.3
8.0.2
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
rebase!
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
4.0.3
->8.0.2
Release Notes
sindresorhus/eslint-plugin-unicorn
### [`v8.0.2`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v8.0.2) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v8.0.1...v8.0.2) - Don't use non-standard AST property in `no-for-loop` rule ([#279](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/279)) [`b86d456`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b86d456) ### [`v8.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v8.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v8.0.0...v8.0.1) - Fix `prevent-abbreviations` breaking shorthand properties in assignment patterns ([#268](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/268)) [`d30751a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d30751a) ### [`v8.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v8.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v7.1.0...v8.0.0) This release is focused on helping you write more readable code and to adopt modern APIs. My favorite is the [`prevent-abbreviations` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prevent-abbreviations.md), which encourages you to pick readable variable names. ##### New rules - Add [`prevent-abbreviations` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prevent-abbreviations.md) ([#237](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/237)) [`76ff30e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/76ff30e) - Add [`no-for-loop` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-for-loop.md) ([#221](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/221)) [`b94ab9a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b94ab9a) - Add [`no-zero-fractions` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-zero-fractions.md) ([#244](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/244)) [`75b8192`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/75b8192) - Add [`prefer-includes` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-includes.md) ([#214](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/214)) [`a330d74`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a330d74) - Add [`prefer-text-content` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-text-content.md) ([#223](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/223)) [`c493115`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c493115) - Add [`prefer-node-remove` rule](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-node-remove.md) ([#222](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/222)) [`fda5517`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fda5517) ##### Enhancements - Add `meta.type` to rules ([#241](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/241)) [`610a901`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/610a901) - Add [`excludedPackages` option](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-add-event-listener.md#excludedpackages) to the `prefer-add-event-listener` rule ([#235](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/235)) [`f141a4c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f141a4c) - Add event clearing to `prefer-add-event-listener` rule ([#216](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/216)) [`7503d12`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7503d12) ##### Fixes - Fix the default value for the `filename-case` rule [`139ac16`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/139ac16) - Fix ES2015 exports not counting an object as used ([#217](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/217)) [`6d5bb10`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6d5bb10) - Fix `catch-error-name` fixer not renaming all references in `.catch` case ([#258](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/258)) [`c2e4a9d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/c2e4a9d) - Don't fix `onbeforeunload` unless it's handler does not return anything ([#218](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/218)) [`db2f192`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/db2f192) - Prevent false-positives in the `no-fn-reference-in-iterator` rule ([#172](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/172)) [`73e8d5d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/73e8d5d) ### [`v7.1.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v7.1.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v7.0.0...v7.1.0) - Make the `catch-error-name` rule fixable in most cases ([#209](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/209)) [`3c66c0e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3c66c0e) - Make the `no-abusive-eslint-disable` rule support shorthand syntax ([#212](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/212)) [`fcee1c6`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/fcee1c6) ### [`v7.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v7.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v6.0.1...v7.0.0) - Add [`prefer-query-selector`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-query-selector.md) rule ([#198](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/198)) [`a44e16c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a44e16c) - Add [`prefer-node-append`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-node-append.md) rule ([#201](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/201)) [`9da5e6a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9da5e6a) - Add [`no-unused-properties`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-unused-properties.md) rule ([#195](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/195)) [`0179443`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0179443) - Add [`no-unreadable-array-destructuring`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-unreadable-array-destructuring.md) rule ([#199](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/199)) [`62c51a7`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/62c51a7) - Add [`no-console-spaces`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-console-spaces.md) rule ([#191](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/191)) [`5dd529f`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/5dd529f) - custom-error-definition - Fix null reference ([#188](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/188)) [`cf3e22d`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/cf3e22d) - Support parsing ES2019 [`42e1af8`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/42e1af8) _It's a major release as the [recommended config](https://togithub.com/sindresorhus/eslint-plugin-unicorn#recommended-config) received new rules which could potentially break your build._ ### [`v6.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v6.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v6.0.0...v6.0.1) - `catch-error-name` rule: Support optional catch binding ([#187](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/187)) ### [`v6.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v6.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v5.0.0...v6.0.0) - Add `prefer-exponentiation-operator` rule. ([#185](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/185)) [`9f7f811`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9f7f811) - Change the default `name` option of the `catch-error-name` rule to be `error` instead of `err`. [`7a1f1a1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/7a1f1a1) - Re-enable the `catch-error-name` rule. [`341ee3a`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/341ee3a) - Include the plugin itself in the recommended preset. [`a41a77b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a41a77b) - `regex-shorthand` rule: Escape backslash and apostrophe. ([#183](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/183)) [`8a50f40`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8a50f40) - `filename-case` rule: Survive missing options block. ([#184](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/184)) [`2283cda`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2283cda) ### [`v5.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/v5.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v4.0.3...v5.0.0) - Require ESLint 5. [`a6ce053`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a6ce053a9d2661d459a2d36728c15fc21353a41a) - Require Node.js 6. [`b546647`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b546647e49e02fccda4f33bc5b365090e0817562) - Also check conditional expressions in `explicit-length-check` rule. [`ad1fd85`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ad1fd85640a266fe85ebc0b0cffe6dcb21dca0c5)Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.