Packages

eslint

10.15.0 · 13 Nov 2026MIT216.2M / weekRepositoryHomepagenpmAtom feed

Your version

0.21.0

9 May 2015Where it was published

0.24.1 is the newest release of 0.21.x.

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

In short

1 breaking7 new17 fixed6 changed6 internal

  • Breaking

    Do not check unset declaration types (Fixes #2448) (Ilya Volodin)

Release note

  • New: Shareable configs (fixes #2415) (Nicholas C. Zakas)

  • Edge cases for no-wrap-func (fixes #2466) (Nicholas C. Zakas)

  • New: Add dot-location rule. (fixes #1884) (Greg Cochard)

  • New: Add addPlugin method to CLI-engine (Fixes #1971) (Ilya Volodin)

  • Breaking

    Do not check unset declaration types (Fixes #2448) (Ilya Volodin)

  • no-redeclare switch scoping (fixes #2337) (Nicholas C. Zakas)

  • Check extra scope in no-use-before-define (fixes #2372) (Nicholas C. Zakas)

  • Ensure baseConfig isn't changed (fixes #2380) (Nicholas C. Zakas)

  • Don't warn for member expression functions (fixes #2402) (Nicholas C. Zakas)

  • New: Adds skipBlankLines option to the no-trailing-spaces rule (fixes #2303) (Andrew Vaughan)

  • Adding exception for last line (Refs #2423) (Greg Cochard)

  • Crash on 0 max (fixes #2423) (gcochard)

  • Fix object-shorthand arrow functions (fixes #2414) (Jamund Ferguson)

  • Improves detection of self-referential functions (fixes #2363) (Jose Roberto Vidal)

  • Update: key-spacing groups must be consecutive lines (fixes #1728) (Brandon Mills)

  • New: Check --stdin-filename by ignore settings (fixes #2432) (Aliaksei Shytkin)

  • no-loop-func rule allows functions at init part (fixes #2427) (Toru Nagashima)

  • New: Add init command (fixes #2302) (Ilya Volodin)

  • no-irregular-whitespace should work with irregular line breaks (fixes #2316) (Mathias Schreck)

  • generator-star-spacing with class methods (fixes #2351) (Brandon Mills)

  • New: no-unneeded-ternary rule to disallow boolean literals in conditional expressions (fixes #2391) (Gyandeep Singh)

  • space-in-brackets Cannot read property 'range' (fixes #2392) (Gyandeep Singh)

  • Add: Exception option for no-extend-native and no-native-reassign (fixes #2355) (Gyandeep Singh)

  • space-in-brackets import declaration (fixes #2378) (Gyandeep Singh)

  • Update: Add uninitialized and initialized options (fixes #2206) (Ian VanSchooten)

  • brace-style to not warn about curly mix ifStatements (fixes #1739) (Gyandeep Singh)

  • Npm run profile script should use espree (fixes #2150) (Mathias Schreck)

  • New: Add support for extending configurations (fixes #1637) (Espen Hovlandsdal)

  • Include string literal keys in object-shorthand (Fixes #2374) (Jamund Ferguson)

  • New: linebreak-style rule (fixes #1255) (Erik Müller)

  • Update: Add "none" option to operator-linebreak rule (fixes #2295) (Casey Visco)

  • Sanitise Jekyll interpolation during site generation (fixes #2297) (Michael Ficarra)

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.