Releases: sindresorhus/eslint-plugin-unicorn
Releases · sindresorhus/eslint-plugin-unicorn
v7.1.0
v7.0.0
- Add
prefer-query-selector
rule (#198) a44e16c - Add
prefer-node-append
rule (#201) 9da5e6a - Add
no-unused-properties
rule (#195) 0179443 - Add
no-unreadable-array-destructuring
rule (#199) 62c51a7 - Add
no-console-spaces
rule (#191) 5dd529f - custom-error-definition - Fix null reference (#188) cf3e22d
- Support parsing ES2019 42e1af8
It's a major release as the recommended config received new rules which could potentially break your build.
v6.0.1
v6.0.0
- Add
prefer-exponentiation-operator
rule. (#185) 9f7f811 - Change the default
name
option of thecatch-error-name
rule to beerror
instead oferr
. 7a1f1a1 - Re-enable the
catch-error-name
rule. 341ee3a - Include the plugin itself in the recommended preset. a41a77b
regex-shorthand
rule: Escape backslash and apostrophe. (#183) 8a50f40filename-case
rule: Survive missing options block. (#184) 2283cda
v5.0.0
v4.0.0
- Added:
prefer-add-event-listener
rule. b7e4afb - Added:
prefer-spread rule
rule. aeedf6f Added:(Disabled for now)no-unsafe-regex
rule. b1beb61- Added:
error-message
rule. dd05f68 - Added:
caughtErrorsIgnorePattern
option tocatch-error-name
rule. 54738be - Improvement: Exclude index.js from the
filename-case
rule. 6a9b550 - Fixed: Allow specifying rules from a scoped plugin in the
no-abusive-eslint-disable
rule. 1b7c27f - Fixed: Allow regex literal inside RegExp constructor in the
regex-shorthand
rule. adc59db
Big thanks to @johnwu93 @bdougherty @evilebottnawi @Arcanemagus @sudo-suhas for contributing to this release! 🎉
v3.0.1
Bugfixes
v3.0.0
- Added
import-index
rule. cab60da - Added
new-for-builtins
rule. 9dfd508 - Added
regex-shorthand
rule. cba8dd9 - Added
no-fn-reference-in-iterator
rule. c11cc5d - Added non-zero length style option to
explicit-length-check
rule. 0c61fde - Re-enabled the
escape-case
andno-hex-escape
rules. They were previously disabled because of some issues. 81b92a9
All changes: v2.1.1...v3.0.0
2.1.1
2.1.0
- Support custom errors in the
throw-new-error
rule - Bug fix for number only escapes in
escape-case
rule