Packages

eslint

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

Your version

2.10.0

13 May 2016Where it was published

2.13.1 is the newest release of 2.x.

npm marks 2.10.0 as deprecated: This version is no longer supported. Please see eslint.org/version-support for other options.

In short

5 new17 fixed3 changed25 internal

Release note

  • Optimize no-irregular-whitespace for the common case (fixes #6116)

  • _ and $ in isES5Constructor (fixes #6085)

  • no-loop-func crashed (fixes #6130)

  • Sort fixes consistently even if they overlap (fixes #6124)

  • Replace assert.deepEqual by lodash.isEqual (fixes #6111)

  • no-multiple-empty-lines duplicate errors at BOF (fixes #6113)

  • Merge various command line configs at the same time (fixes #6104)

  • Update: add returnAssign option to no-extra-parens (fixes #6036)

  • Update: Add an option to prefer-const (fixes #5692)

  • Update: Add autofix for lines-around-comment (fixes #5956)

  • no-return-assign warning nested expressions (fixes #5913)

  • Merge pull request #6088 from eslint/docs-one-var-per-line (alberto)

  • comma-style accounts for parens in array (fixes #6006)

  • Update: multipass should not exit prematurely (fixes #5995)

  • Update: Adds an avoidQuotes option for object-shorthand (fixes #3366)

  • Throw when rule uses fix but meta.fixable not set (fixes #5970)

  • no-sequences false negative at arrow expressions (fixes #6082)

  • lines-around-comment multiple errors on same line (fixes #5965)

  • object-shorthand should only lint computed methods (fixes #6015)

  • Update: no-irregal-whitespace in a regular expression (fixes #5840)

  • Blockless else in max-statements-per-line (fixes #5926)

  • New: Add new rule object-property-newline (fixes #5667)

  • Do not swallow exceptions in CLIEngine.getFormatter (fixes #5977)

  • Always ignore defaults unless explicitly passed (fixes #5547)

  • Removed false positives of break and continue (fixes #5972)

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.