Breaking
- Drop support for Node.js v10 (#1211) a8e9f26
- Drop support for
babel-eslint
(#1211) a8e9f26
You should migrate to@babel/eslint-parser
New rules
no-document-cookie
(#1244) 866c4a3numeric-separators-style
- Was previously disabled.prefer-array-flat
- Was previously disabled.prefer-array-flat-map
- Was previously disabled.
Improvements
no-for-loop
: Ignore known non-array loop variables (#1242) 29f6b45prefer-array-find
: Singularize variable name in autofix (#1243) 6b340a3prefer-switch
: Do not add braces to the default case (#1235) c241782no-zero-fractions
: Handle numeric separators, fix missing parentheses, improve report location (#1238) 2724afano-array-for-each
: Better error message (#1239) 2e82dc8prefer-switch
: Avoid conflict withno-unreachable
rule (#1234) 1c78d0cprefer-optional-catch-binding
: Support checking destructured errors (#1229) a0b2f4fno-array-for-each
: Support autofixing complicated parameters (#1228) d84143fprefer-negative-index
: SupportArray#at()
(#1217) 6443ee3explicit-length-check
: CheckSet#size
(#1226) 6a745a0filename-case
: Improve report position (#1227) 3d4ac1b