eslint
10.15.0 · 13 Nov 2026MIT216.2M / weekRepositoryHomepagenpmAtom feed
Upgrading eslint From 2.2.0 to 2.13.1
18 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 31
- new
- 120
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.10.2
- Deprecated2.6.0
Release by release
- Fixed
Wrong baseDir (fixes #6450)
- Fixed
Keep indentation when fixing
padded-blocks"never" (fixes #6454) - Fixed
no-multiple-empty-lines errors when no line breaks (fixes #6449)
- Fixed
- New
Update: Add fixer for object-shorthand (fixes #6412)
- New
Added quotes around "classes" option key
- New
Update: Add
neveroption forfunc-names(fixes #6059) - New
Update: Add autofix for
padded-blocks(fixes #6320)
- New
- New
Update: Add explicit default option
alwaysforeqeqeq(refs #6144) - New
Describe values under Extending Configuration Files (refs #6240)
- New
Update: Add never option to arrow-body-style (fixes #6317)
- Fixed
one-var allows uninitialized vars in ForIn/ForOf (fixes #5744)
- Fixed
no-useless-renamefalse positive in babel-eslint (fixes #6266) - Fixed
no-useless-rename handles ExperimentalRestProperty (fixes #6284)
- New
- Fixed
Failed to parse
/*eslintcomments by colon (fixes #6224) - Fixed
max-statements-per-linefalse positive at exports (fixes #6264) - Fixed
no-useless-renamefalse positives (fixes #6266)
- Fixed
- New
Update: Add treatUndefinedAsUnspecified option (fixes #6026)
- New
Update: Add checkLoops option to no-constant-condition (fixes #5477)
- Fixed
On --init, print message when package.json is invalid (fixes #6257)
- Fixed
--ignore-patterncan't uningnore files (fixes #6127)
- New
- Breaking
Remove default parser from CLIEngine options (fixes #6182)
- Breaking
- Fixed
valid-jsdoc false positive at default parameters (fixes #6097)
- Fixed
Warning & error count in CLIEngine.getErrorResults (fixes #6155)
- Fixed
Ignore empty statements in max-statements-per-line (fixes #6153)
- Fixed
no-extra-parens to check for nulls (fixes #6161)
- Fixed
Parser merge sequence in config (fixes #6158)
- Fixed
no-return-assign to check for null tokens (fixes #6159)
- Fixed
- New
Update: add returnAssign option to no-extra-parens (fixes #6036)
- New
Update: Add an option to prefer-const (fixes #5692)
- New
Update: Add autofix for lines-around-comment (fixes #5956)
- New
Update: Adds an avoidQuotes option for object-shorthand (fixes #3366)
- New
52 other lines we could not sort, mostly version bumps
- 2.13.0
Update: no-multiple-empty-lines fixer (fixes #6225)
- 2.12.0
Update: max-len will warn indented comment lines (fixes #6322)
- 2.12.0
New:
max-linesrule (fixes #6078) - 2.12.0
Update: Option for object literals in
arrow-body-style(fixes #5936) - 2.12.0
New:
no-mixed-operatorsrule (fixes #6023) - 2.12.0
New:
object-curly-newline(fixes #6072) - 2.12.0
Update: callback-return allows for object methods (fixes #4711)
- 2.12.0
New: rest-spread-spacing rule (fixes #5391)
- 2.12.0
Update: Improve perf not traversing default ignored dirs (fixes #5679)
- 2.11.0
New: no-useless-rename (fixes #6058)
168 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.