ESLint v8.x end-of-life is 2024-10-05 and will not be maintained after that. 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.

ESLint v9.10.0 released
2 min read

ESLint v9.10.0 released

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

Trunk becomes ESLint gold sponsor
1 min read

Trunk becomes ESLint gold sponsor

We are happy to announce that Trunk is a gold sponsor of ESLint. We are grateful to founders Eli Schleifer and David Apirian, as well as the whole Trunk team.