ESLint v8.x reached end-of-life on 2024-10-05 and is no longer maintained. Upgrade or consider long-term support options

ESLint v8.41.0 released

We just pushed ESLint v8.41.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Highlights

  • Integrations can now use the new function shouldUseFlatConfig() to determine whether to use the FlatESLint class instead of the ESLint class.
  • The performance of the indent rule has been significantly improved.

Features

  • 880a431 feat: change default ignore pattern to **/node_modules/ in flat config (#17184) (Milos Djermanovic)
  • 8bf5505 feat: expose shouldUseFlatConfig (#17169) (Connor Prussin)

Bug Fixes

  • 4f5440d fix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic)
  • 94da96c fix: unify LintMessage type (#17076) (Brandon Mills)
  • 0c415cd fix: validate ignorePatterns constructor option in FlatESLint class (#17139) (Milos Djermanovic)
  • 9682d66 fix: switch grapheme-splitter to graphemer (#17160) (fisker Cheung)

Documentation

  • 7709b14 docs: Update README (GitHub Actions Bot)
  • 7f183e0 docs: Update triage process description (#17157) (Nicholas C. Zakas)
  • b68346b docs: fix license to reflect relicensing of jshint (#17165) (Stefan Bischof)

Chores

  • f43216a chore: upgrade @eslint/js@8.41.0 (#17200) (Milos Djermanovic)
  • 95c3007 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • ddc5291 chore: don’t use deprecated context methods in ast-utils tests (#17194) (Milos Djermanovic)
  • b1516db chore: Fix return type of findFlatConfigFile (#17161) (Milos Djermanovic)
  • 918b0fd perf: Store indent descriptors in a plain array (#17148) (Francesco Trotta)
  • 4caa344 refactor: locateConfigFileToUse returns an Error object (#17159) (唯然)

The latest ESLint news, case studies, tutorials, and resources.

Differences between ESLint and TypeScript
7 min read

Differences between ESLint and TypeScript

Linters such as ESLint and type checkers such as TypeScript catch different areas of code defects and are best used in conjunction with each other.

ESLint v9.15.0 released
2 min read

ESLint v9.15.0 released

We just pushed ESLint v9.15.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v9.14.0 released
2 min read

ESLint v9.14.0 released

We just pushed ESLint v9.14.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.