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.57.1 released

We just pushed ESLint v8.57.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

Highlights

Notable bug fixes related to the new config system (eslint.config.js):

  • Config name property can now also be used with global ignores.
  • --no-ignore no longer applies to non-global ignores.
  • The FlatESLint#lintText() method will now respect the fixTypes option when it is specified.

This version also improves configuration error messages by including the name property (if specified on the config object that caused the error), or index in case of non-object elements in the config array.

Bug Fixes

  • a19072f fix: add logic to handle fixTypes in the lintText() method (#18900) (Francesco Trotta)
  • 04c7188 fix: Don’t lint same file multiple times (#18899) (Francesco Trotta)
  • 87ec3c4 fix: do not throw when defining a global named __defineSetter__ (#18898) (Francesco Trotta)
  • 60a1267 fix: Provide helpful error message for nullish configs (#18889) (Milos Djermanovic)
  • a0dea8e fix: allow name in global ignores, fix --no-ignore for non-global (#18875) (Milos Djermanovic)
  • 3836bb4 fix: do not crash on error in fs.walk filter (#18886) (Milos Djermanovic)
  • 2dec349 fix: skip processor code blocks that match only universal patterns (#18880) (Milos Djermanovic)

Documentation

  • 6a5add4 docs: v8.x Add EOL banner (#18744) (Amaresh S M)
  • b034575 docs: v8.x add version support page to the dropdown (#18731) (Amaresh S M)
  • 760ef7d docs: v8.x add version support page in the side navbar (#18740) (Amaresh S M)
  • 428b7ea docs: Add Powered by Algolia label to the search (#18658) (Amaresh S M)
  • c68c07f docs: version selectors synchronization (#18265) (Milos Djermanovic)
  • 35d366a build: Support updates to previous major versions (#18870) (Milos Djermanovic)

Chores

  • 140ec45 chore: upgrade @eslint/js@8.57.1 (#18913) (Milos Djermanovic)
  • bcdfc04 chore: package.json update for @eslint/js release (Jenkins)
  • 3f6ce8d chore: pin vite-plugin-commonjs@0.10.1 (#18910) (Milos Djermanovic)
  • 9f07549 chore: ignore /docs/v8.x in link checker (#18660) (Milos Djermanovic)

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.