Packages

eslint

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

Your version

4.2.0

9 Jul 2017Where it was published

4.19.1 is the newest release of 4.x.

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

In short

3 new13 fixed3 changed17 internal

Release note

  • Update: fix indentation of nested function parameters (fixes #8892)

  • no-regex-spaces rule incorrectly fixes quantified spaces

  • Update: fix indentation of EmptyStatements (fixes #8882)

  • Indent false positive with multi-line await expression

  • Update: add no-sync option to allow at root level (fixes #7985)

  • --quiet no longer fixes warnings (fixes #8675)

  • Update: Add always-multiline option to multiline-ternary (fixes #8770)

  • Correct comma-dangle JSON schema

  • Update: fix indentation of JSXExpressionContainer contents (fixes #8832)

  • arrow-parens fixer gets tripped up with trailing comma in args

  • New: Allow passing a function as fix option (fixes #8039)

  • Doc md update: false -> false

  • Update: fix parenthesized CallExpression indentation (fixes #8790)

  • Update: simplify variable declarator indent handling (fixes #8785)

  • no-debugger autofixer produced invalid syntax

  • New: getter-return rule (fixes #8449)

  • no-extra-parens false positives for variables called "let"

  • dot-notation autofix produces syntax errors for object called "let"

  • Don't require a third argument in linter.verifyAndFix (fixes #8805)

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.