Packages

eslint

10.15.0 · 13 Nov 2026MIT217.1M / weekRepositoryHomepagenpmAtom feed

Upgrading eslint From 2.5.0 to 2.13.1

15 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.5.0Latest10.15.0
  1. 2.5.0yours
  2. 9 releases
  3. 2.10.2breaking
  4. 4 releases
  5. 2.13.1target

Before you upgrade

Tick each one off as you go
  • Breaking2.10.2
  • Deprecated2.6.0

Release by release

  1. 2.13.1

    20 Jun 20163 fixes
    • 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)

  2. 2.13.0

    17 Jun 20164 new · 6 fixes
    • New

      Update: Add fixer for object-shorthand (fixes #6412)

    • New

      Added quotes around "classes" option key

    • New

      Update: Add never option for func-names (fixes #6059)

    • New

      Update: Add autofix for padded-blocks (fixes #6320)

  3. 2.12.0

    10 Jun 20163 new · 3 fixes
    • New

      Update: Add explicit default option always for eqeqeq (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-rename false positive in babel-eslint (fixes #6266)

    • Fixed

      no-useless-rename handles ExperimentalRestProperty (fixes #6284)

  4. 2.11.1

    30 May 20163 fixes
    • Fixed

      Failed to parse /*eslint comments by colon (fixes #6224)

    • Fixed

      max-statements-per-line false positive at exports (fixes #6264)

    • Fixed

      no-useless-rename false positives (fixes #6266)

  5. 2.11.0

    27 May 20162 new · 9 fixes
    • 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-pattern can't uningnore files (fixes #6127)

  6. 2.10.2

    Migration needed16 May 2016
    • Breaking

      Remove default parser from CLIEngine options (fixes #6182)

  7. 2.10.1

    14 May 20166 fixes
    • 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)

  8. 2.10.0

    13 May 20165 new · 17 fixes
    • 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)

36 other lines we could not sort, mostly version bumps
  • Update: no-multiple-empty-lines fixer (fixes #6225)

    2.13.0
  • Update: max-len will warn indented comment lines (fixes #6322)

    2.12.0
  • New: max-lines rule (fixes #6078)

    2.12.0
  • Update: Option for object literals in arrow-body-style (fixes #5936)

    2.12.0
  • New: no-mixed-operators rule (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.12.0
  • New: no-useless-rename (fixes #6058)

    2.11.0

117 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.