Releases
v33.0.0
New rules
Improvements
no-array-for-each
: Handle only return statement inside if
or else
(#1319 ) 298a104
new-for-builtins
& no-new-buffer
: Handle line breaks after new
keyword (#1301 ) d37439f
prefer-array-flat-map
: Remove check on [].concat(...array.map(…))
(#1299 ) 128b5aa
prefer-spread
: Ignore {arrayBuffer,blob,buffer,file,this}.slice()
(#1287 ) e18d5f2
prefer-string-starts-ends-with
: Add suggestions for safely handling non-strings (#1277 ) f14a9d1
explicit-length-check
: Ignore this.{size,length}
(#1289 ) ed85d00
prefer-string-starts-ends-with-rule
: Don't autofix known non-string values (#1281 ) a1c8984
explicit-length-check
: Ignore known, non-number length properties (#1264 ) 42f6487
empty-brace-spaces
: Support experimental syntax (#1276 ) fa68b6f
prefer-dom-node-remove
: Improve parentheses handling (#1254 ) 74e4d39
Fixes
prefer-array-flat
: Fix incorrect fix, check Array.prototype.concat.call
(#1317 ) f6a939c
v32.0.1...v33.0.0
You can’t perform that action at this time.