Releases: sindresorhus/eslint-plugin-unicorn
Releases · sindresorhus/eslint-plugin-unicorn
v7.0.0
- Add prefer-query-selectorrule (#198) a44e16c
- Add prefer-node-appendrule (#201) 9da5e6a
- Add no-unused-propertiesrule (#195) 0179443
- Add no-unreadable-array-destructuringrule (#199) 62c51a7
- Add no-console-spacesrule (#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-operatorrule. (#185) 9f7f811
- Change the default nameoption of thecatch-error-namerule to beerrorinstead oferr. 7a1f1a1
- Re-enable the catch-error-namerule. 341ee3a
- Include the plugin itself in the recommended preset. a41a77b
- regex-shorthandrule: Escape backslash and apostrophe. (#183) 8a50f40
- filename-caserule: Survive missing options block. (#184) 2283cda
v5.0.0
v4.0.0
- Added: prefer-add-event-listenerrule. b7e4afb
- Added: prefer-spread rulerule. aeedf6f
- Added:(Disabled for now)- no-unsafe-regexrule. b1beb61
- Added: error-messagerule. dd05f68
- Added: caughtErrorsIgnorePatternoption tocatch-error-namerule. 54738be
- Improvement: Exclude index.js from the filename-caserule. 6a9b550
- Fixed: Allow specifying rules from a scoped plugin in the no-abusive-eslint-disablerule. 1b7c27f
- Fixed: Allow regex literal inside RegExp constructor in the regex-shorthandrule. adc59db
Big thanks to @johnwu93 @bdougherty @evilebottnawi @Arcanemagus @sudo-suhas for contributing to this release! 🎉
v3.0.1
Bugfixes
v3.0.0
- Added import-indexrule. cab60da
- Added new-for-builtinsrule. 9dfd508
- Added regex-shorthandrule. cba8dd9
- Added no-fn-reference-in-iteratorrule. c11cc5d
- Added non-zero length style option to explicit-length-checkrule. 0c61fde
- Re-enabled the escape-caseandno-hex-escaperules. 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-errorrule
- Bug fix for number only escapes in escape-caserule
2.0.1
Fixed some urgent crasher issues.
Help wanted to add integration tests so this doesn't happen in the future.
