New rules
Breaking
prevent-abbreviations
: Rename options (#1164) cf42cc5no-keyword-prefix
: Renameblacklist
option todisallowedPrefixes
(#1180) 91e60d0
Improvements
no-array-push-push
: Addignore
option (#1168) f9262d9prefer-spread
: Reportarray.slice(0)
(#1182) 92bebe1no-useless-undefined
: Handle parenthesizedundefined
(#1178) c88882eno-array-for-each
: Improve fixable parameter detection (#1177) 18d1ac2prefer-array-flat-map
: ExcludeReact.Children.map().flat()
(#1159) 3e6b6fbbetter-regex
: Report parsing errors (#1133) 51ee030filename-case
: Uniquify suggestion filenames (#1160) a87238f- Support
PropertyDefinition
(#1127) 75c4d78
Fixes
prefer-number-properties
: Fix some edge cases (#1170) e7e25b8prefer-number-properties
: Fix some edge cases (part 2) (#1176) 3a58802prefer-regexp-test
: Do not fix if regexp hasg
flag (#1173) 8d97bebno-array-for-each
: Do not fix if callback parameter has type annotation (#1167) 0d4fc8bno-useless-undefined
: Do not reportreturn undefined
if function hasreturnType
(#1165) 4ff39e0prefer-set-has
: Use suggestions if node has type annotation (#1158) 1221185no-null
: Exclude second argument ofNode.insertBefore()
(#1157) b16c316prefer-add-event-listener
: Fix crash on parenthesized cases (#1153) c95e854- Fix optional
MemberExpression
check when usingecmaVersion: 2019
(#1151) 56d5d9a prefer-regexp-test
: Do not fix if argument ofString#match()
is known notRegExp
(#1152) 0abc394