npm eslint-plugin-unicorn 30.0.0

latest releases: 56.0.0, 55.0.0, 54.0.0...
3 years ago

New rules

Breaking

  • prevent-abbreviations: Rename options (#1164) cf42cc5
  • no-keyword-prefix: Rename blacklist option to disallowedPrefixes (#1180) 91e60d0

Improvements

Fixes

  • prefer-number-properties: Fix some edge cases (#1170) e7e25b8
  • prefer-number-properties: Fix some edge cases (part 2) (#1176) 3a58802
  • prefer-regexp-test: Do not fix if regexp has g flag (#1173) 8d97beb
  • no-array-for-each: Do not fix if callback parameter has type annotation (#1167) 0d4fc8b
  • no-useless-undefined: Do not report return undefined if function has returnType (#1165) 4ff39e0
  • prefer-set-has: Use suggestions if node has type annotation (#1158) 1221185
  • no-null: Exclude second argument of Node.insertBefore() (#1157) b16c316
  • prefer-add-event-listener: Fix crash on parenthesized cases (#1153) c95e854
  • Fix optional MemberExpression check when using ecmaVersion: 2019 (#1151) 56d5d9a
  • prefer-regexp-test: Do not fix if argument of String#match() is known not RegExp (#1152) 0abc394

v29.0.0...v30.0.0

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

NewReleases is sending notifications on new releases.