Packages

eslint

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

Your version

2.11.0

27 May 2016Where it was published

2.13.1 is the newest release of 2.x.

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

In short

2 new9 fixed6 changed3 internal

Release note

  • On --init, print message when package.json is invalid (fixes #6257)

  • --ignore-pattern can't uningnore files (fixes #6127)

  • New: no-useless-rename (fixes #6058)

  • Incorrect object-property-newline behavior (fixes #6207)

  • newline-before-return shouldn't disallow newlines (fixes #6176)

  • vars-on-top crashs at export declarations (fixes #6210)

  • New: unicode-bom rule to allow or disallow BOM (fixes #5502)

  • comma-dangle wrong autofix (fixes #6233)

  • Lost code in autofixing (refs #6233)

  • Upgrade: Doctrine to 1.2.2 (fixes #6121)

  • Update: key-spacing rule whitespace fixer (fixes #6167)

  • New: Disallow use of Object.prototype methods on objects (fixes #2693)

  • Update: max in max-statements-per-line should be >=0 (fixes #6171)

  • Update: Add treatUndefinedAsUnspecified option (fixes #6026)

  • Update: Add checkLoops option to no-constant-condition (fixes #5477)

  • no-multiple-empty-lines BOF and EOF defaults (fixes #6179)

  • max-statements-per-line false positive (fixes #6173, fixes #6153)

  • generator-star-spacing false positive (fixes #6135)

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.