Packages

eslint

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

Your version

2.3.0

5 Mar 2016Where it was published

2.13.1 is the newest release of 2.x.

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

In short

4 new20 fixed9 changed18 internal

Release note

  • Update: Proposed no-magic-numbers option: ignoreJSXNumbers (fixes #5348) (Brandon Beeks)

  • Extends chain (fixes #5411) (Toru Nagashima)

  • Update: Replace getLast() with lodash.last() (fixes #5456) (Jordan Eldredge)

  • Crash when SourceCode object was reused (fixes #5007) (Toru Nagashima)

  • New: newline-before-return rule (fixes #5009) (Kai Cataldo)

  • Check space after anonymous generator star (fixes #5435) (alberto)

  • no-undef false positive at new.target (fixes #5420) (Toru Nagashima)

  • Update: Add ES7 support (fixes #5401) (Brandon Mills)

  • Update: Support classes in padded-blocks (fixes #5092) (alberto)

  • getFormatter throws an error when called as static (fixes #5378) (cowchimp)

  • Prevent crash from swallowing console.log (fixes #5381) (Ian VanSchooten)

  • Remove tests which have invalid syntax (fixes #5405) (Toru Nagashima)

  • no-useless-constructor rule crashes sometimes (fixes #5290) (Burak Yigit Kaya)

  • Update: Allow string severity in config (fixes #3626) (Nicholas C. Zakas)

  • Update: Exclude ES5 constructors from consistent-return (fixes #5379) (Kevin Locke)

  • Location info in dot-notation rule (fixes #5397) (Gyandeep Singh)

  • Update: Support switch statements in padded-blocks (fixes #5056) (alberto)

  • Allow irregular whitespace in comments (fixes #5368) (Christophe Porteneuve)

  • New: no-restricted-globals rule implementation (fixes #3966) (Benoît Zugmeyer)

  • constructor-super false positive after a loop (fixes #5394) (Toru Nagashima)

  • Indent rule doesn't handle constructor instantiation (fixes #5384) (Nate Cavanaugh)

  • Avoid magic numbers in rule options (fixes #4182) (Brandon Beeks)

  • Add tests to cover default magic number tests (fixes #5385) (Brandon Beeks)

  • .eslintignore paths should be absolute (fixes #5362) (alberto)

  • Update: Better error message for plugins (refs #5221) (Nicholas C. Zakas)

  • Update: Improve error message for rule-tester (fixes #5369) (Jeroen Engels)

  • no-self-assign false positive at shorthand (fixes #5371) (Toru Nagashima)

  • Update: no-invalid-regexp allows custom flags (fixes #5249) (Afnan Fahim)

  • Support for dash and slash in valid-jsdoc (fixes #1598) (Gyandeep Singh)

  • Fix:newline-per-chained-call should only warn on methods (fixes #5289) (Burak Yigit Kaya)

  • Update: prefer-const; change modified to reassigned (fixes #5350) (Michiel de Bruijne)

  • Indent check for else keyword with Stroustrup style (fixes #5218) (Gyandeep Singh)

  • Cleanup temp files from tests (fixes #5338) (Nick)

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.