github sindresorhus/eslint-plugin-unicorn v19.0.0

latest releases: v56.0.0, v55.0.0, v54.0.0...
4 years ago

New rules

Breaking

  • string-content: Make it have no default patterns (#637) 08fad55
  • catch-error-name: Replace caughtErrorsIgnorePattern option with an ignore option (#661) 5a27f04

Improvements

  • custom-error-definition: Support class properties (#673) 9cc8d60
  • catch-error-name: Support Promise#then (#660) edcf73c
  • prefer-set-has: Supports more types of array (#641) 29f3c9c

Fixes

  • escape-case: Fix missing characters (#678) d986427
  • no-nested-ternary: Fix incorrect result with TypeScript parser (#664) cb08ed0
  • custom-error-definition: Fix duplicated reports on this.message assign (#669) aa00647
  • custom-error-definition: Fix crash on @typescript-eslint/parser (#659) e8cb921
  • catch-error-name: Improve error message (#665) 8ac9a90
  • catch-error-name: Fix error renaming (#654) cc2d1b1
  • catch-error-name: Only allow _ when it's not used (#650) 0c31a0b
  • catch-error-name: Ignore destructuring (#649) b2838fd

v18.0.1...v19.0.0

Don't miss a new eslint-plugin-unicorn release

NewReleases is sending notifications on new releases.