Packages

eslint

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

Your version

2.4.0

11 Mar 2016Where it was published

2.13.1 is the newest release of 2.x.

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

In short

2 new7 fixed11 internal

Release note

  • estraverse/escope to work with unknowns (fixes #5476) (Nicholas C. Zakas)

  • Validate the type of severity level (fixes #5499) (Shinnosuke Watanabe)

  • New: Add --parser-options to CLI (fixes #5495) (Jordan Harband)

  • newline-before-return: bug with comment (fixes #5480) (mustafa)

  • Overindent in VariableDeclarator parens or brackets (fixes #5492) (David Greenspan)

  • Update: add allowParens option to no-confusing-arrow (fixes #5332) (Burak Yigit Kaya)

  • Ignore destructuring assignment in object-shorthand (fixes #5488) (alberto)

  • key-spacing checks ObjectExpression is multiline (fixes #5479) (Kevin Partington)

  • no-unmodified-loop-condition false positive (fixes #5445) (Toru Nagashima)

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.