Packages

eslint

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

Your version

2.5.0

25 Mar 2016Where it was published

2.13.1 is the newest release of 2.x.

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

In short

2 new18 fixed7 changed22 internal

Release note

  • lines-around-comment in ESLint repo, part 2 (refs #5188) (Kevin Partington)

  • Upgrade: Globals 9.x (fixes #5668) (Toru Nagashima)

  • New: Rule - No useless escape (fixes #5460) (Onur Temizkan)

  • New: max-statements-per-line (fixes #5424) (Kenneth Williams)

  • Missing support for json sub configs (fixes #5413) (Noam Okman)

  • Update: Add 'caughtErrors' to rule no-unused-vars (fixes #3837) (vamshi)

  • Incorrect config message (fixes #5653) (s0ph1e)

  • Upgrade: Chai to 3.5.0 (fixes #5647) (alberto)

  • radix rule false positive at shadowed variables (fixes #5639) (Toru Nagashima)

  • --no-ignore should not un-ignore default ignores (fixes #5547) (alberto)

  • Update: Allow autoconfiguration for JSX code (fixes #5511) (Ian VanSchooten)

  • Allow default ignored files to be unignored (fixes #5410) (Ian VanSchooten)

  • Update: Enforce repo coding conventions via ESLint (refs #5188) (Kevin Partington)

  • prefer-const false positive at non-blocked if (fixes #5610) (Toru Nagashima)

  • Leading comments added from previous node (fixes #5531) (Kai Cataldo)

  • Respect 'ignoreTrailingComments' in max-len rule (fixes #5563) (Vamshi Krishna)

  • Handle personal package.json without config (fixes #5496) (Denny Christochowitz)

  • prefer-const got to not change scopes (refs #5284) (Toru Nagashima)

  • Update: Overrides for space-unary-ops (fixes #5060) (Afnan Fahim)

  • Update: replace MD5 hashing of cache files with MurmurHash (fixes #5522) (Michael Ficarra)

  • Ensure allowing await as a property name (fixes #5564) (Toru Nagashima)

  • no-useless-constructor clash (fixes #5573) (Toru Nagashima)

  • valid-jsdoc correctly checks type union (fixes #5260) (Kai Cataldo)

  • quote-props false positive on certain keys (fixes #5532) (Burak Yigit Kaya)

  • brace-style erroneously ignoring certain errors (fixes #5197) (Burak Yigit Kaya)

  • object-curly-spacing doesn't know types (fixes #5537) (fixes #5538) (Burak Yigit Kaya)

  • Improve file path resolution (fixes #5314) (Ian VanSchooten)

  • New: no-duplicate-imports rule (fixes #3478) (Simen Bekkhus)

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.