Skip to content

Releases: sindresorhus/eslint-plugin-unicorn

v7.0.0

14 Jan 05:37
Compare
Choose a tag to compare

v6.0.1...v7.0.0

It's a major release as the recommended config received new rules which could potentially break your build.

v6.0.1

03 Sep 10:09
Compare
Choose a tag to compare
  • catch-error-name rule: Support optional catch binding (#187)

v6.0.0

23 Aug 16:44
Compare
Choose a tag to compare
  • Add prefer-exponentiation-operator rule. (#185) 9f7f811
  • Change the default name option of the catch-error-name rule to be error instead of err. 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) 8a50f40
  • filename-case rule: Survive missing options block. (#184) 2283cda

v5.0.0...v6.0.0

v5.0.0

28 Jul 14:42
Compare
Choose a tag to compare
  • Require ESLint 5. a6ce053
  • Require Node.js 6. b546647
  • Also check conditional expressions in explicit-length-check rule. ad1fd85

v4.0.3...v5.0.0

v4.0.0

13 Feb 05:32
Compare
Choose a tag to compare

v3.0.1...v4.0.0

Big thanks to @johnwu93 @bdougherty @evilebottnawi @Arcanemagus @sudo-suhas for contributing to this release! 🎉

v3.0.1

12 Dec 21:50
Compare
Choose a tag to compare

v3.0.0

09 Nov 13:00
Compare
Choose a tag to compare

All changes: v2.1.1...v3.0.0

unicorn26

2.1.1

25 Mar 20:17
Compare
Choose a tag to compare

Disable the escape-case and no-hex-escape rules in the recommended config until they work reliably. b892525

See: #85

2.1.0

10 Mar 03:08
Compare
Choose a tag to compare
  • Support custom errors in the throw-new-error rule
  • Bug fix for number only escapes in escape-case rule

v2.0.1...v2.1.0

2.0.1

06 Feb 10:53
Compare
Choose a tag to compare

Fixed some urgent crasher issues.


Help wanted to add integration tests so this doesn't happen in the future.