Packages

eslint

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

Your version

0.18.0

28 Mar 2015Where it was published

0.24.1 is the newest release of 0.18.x.

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

In short

2 breaking2 new16 fixed5 changed6 internal

  • Breaking

    Remove JSX support from no-undef (fixes #2093) (Nicholas C. Zakas)

  • Breaking

    Rule no-empty also checking for empty catch blocks. (fixes #1841) (Dieter Oberkofler)

Release note

  • Mark variables as used in module scope (fixes #2137) (Nicholas C. Zakas)

  • Arrow functions need wrapping (fixes #2113) (Nicholas C. Zakas)

  • Don't crash on empty array pattern item (fixes #2111) (Nicholas C. Zakas)

  • Don't error on destructured params (fixes #2051) (Nicholas C. Zakas)

  • no-constant-condition should not flag += (fixes #2155) (Nicholas C. Zakas)

  • Ensure piped in code will trigger correct errors (fixes #2154) (Nicholas C. Zakas)

  • block-scoped-var to handle imports (fixes #2087) (Nicholas C. Zakas)

  • no-dupe-args to work with destructuring (fixes #2148) (Nicholas C. Zakas)

  • key-spacing crash on computed properties (fixes #2120) (Brandon Mills)

  • Indent crash on caseless switch (fixes #2144) (Brandon Mills)

  • Don't warn about destructured catch params (fixes #2125) (Nicholas C. Zakas)

  • Update: Omit setter param from no-unused-vars (fixes #2133) (Nicholas C. Zakas)

  • Unused recursive functions should be flagged (issue2095) (Nicholas C. Zakas)

  • Breaking

    Remove JSX support from no-undef (fixes #2093) (Nicholas C. Zakas)

  • markVariableAsUsed() should work in Node.js env (fixes #2089) (Nicholas C. Zakas)

  • New: Add "always" and "never" options to "one-var" rule. (fixes #1619) (Danny Fritz)

  • New: newline-after-var rule (fixes #2057) (Gopal Venkatesan)

  • func-names with ES6 classes (fixes #2103) (Marsup)

  • Add "Error" to the "new-cap" rule exceptions (fixes #2098) (Mickaël Tricot)

  • vars-on-top conflict with ES6 import (fixes #2099) (Gyandeep Singh)

  • New: space-before-function-paren rule (fixes #2028) (Brandon Mills)

  • Breaking

    Rule no-empty also checking for empty catch blocks. (fixes #1841) (Dieter Oberkofler)

  • Update: rule camelcase to allow snake_case in object literals. (fixes #1919) (Dieter Oberkofler)

  • New: Added option int32Hint for space-infix-ops (fixes #1295) (Kirill Efimov)

  • New: no-param-reassign rule (fixes #1599) (Nat Burns)

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.