Packages

eslint

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

Your version

8.40.0

5 May 2023Where it was published

8.57.1 is the newest release of 8.x.

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

In short

7 new1 faster1 fixed10 internal

Release note

Features

  • Improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)

  • Add findConfigFile() method to FlatESLint

  • Add sourceCode property to the rule context

  • Add physicalFilename property to the rule context

  • Add cwd to rule context

  • Add filename property to the rule context

  • Add new omitLastInOneLineClassBody option to the semi rule

Bug Fixes

  • Ensure FlatESLint#findConfigFile() doesn't throw.

Chores

  • Don't use grapheme-splitter on ASCII strings in key-spacing rule

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.