New rules
require-array-join-separator
(#1284) 36e7103require-number-to-fixed-digits-argument
(#1288) 4a30863prefer-prototype-methods
(#1247) 7bde733prefer-object-has-own
(#1322) ca34b40- Not enabled in the
recommended
preset.
- Not enabled in the
Improvements
no-array-for-each
: Handle only return statement insideif
orelse
(#1319) 298a104new-for-builtins
&no-new-buffer
: Handle line breaks afternew
keyword (#1301) d37439fprefer-array-flat-map
: Remove check on[].concat(...array.map(…))
(#1299) 128b5aaprefer-spread
: Ignore{arrayBuffer,blob,buffer,file,this}.slice()
(#1287) e18d5f2prefer-string-starts-ends-with
: Add suggestions for safely handling non-strings (#1277) f14a9d1explicit-length-check
: Ignorethis.{size,length}
(#1289) ed85d00prefer-string-starts-ends-with-rule
: Don't autofix known non-string values (#1281) a1c8984explicit-length-check
: Ignore known, non-number length properties (#1264) 42f6487empty-brace-spaces
: Support experimental syntax (#1276) fa68b6fprefer-dom-node-remove
: Improve parentheses handling (#1254) 74e4d39