New rules
Renamed rules
We improved the naming and name consistency of some rules. Sorry about the churn.
If you use the recommended preset and you're not overriding any rules, you don't need to do anything.
no-fn-reference-in-iterator
→no-array-callback-reference
no-array-instanceof
→no-instanceof-array
no-reduce
→no-array-reduce
prefer-dataset
→prefer-dom-node-dataset
prefer-flat-map
→prefer-array-flat-map
prefer-replace-all
→prefer-string-replace-all
prefer-starts-ends-with
→prefer-string-starts-ends-with
prefer-text-content
→prefer-dom-node-text-content
prefer-trim-start-end
→prefer-string-trim-start-end
prefer-event-key
→prefer-keyboard-event-key
prefer-node-append
→prefer-dom-node-append
prefer-node-remove
→prefer-dom-node-remove
Improvements
explicit-length-check
: Make rule work in many more cases (#943) f3bc798explicit-length-check
: Check unsafeLogicalExpression
s (#952) a1b60adexplicit-length-check
: CheckBoolean(foo.length)
(#951) f4577f7explicit-length-check
: Check more cases (#941) 83a6453new-for-builtins
: IgnoreObject(x) === x
andObject(x) !== x
(#944) 5c7ea92explicit-length-check
: Rewrite rule (#938) 94ae87a