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 v7.20.0 released

We just pushed ESLint v7.20.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

  • The no-unused-expressions rule has a new option enforceForJSX to flag unused JSX elements.
  • The following selectors have been updated to support JSX and custom parsers: :first-child, :last-child, :nth-child(n), :nth-last-child(n), sibling ~, and adjacent sibling +. All selectors now support JSX and custom parsers.

Enhancements

Bug Fixes

  • 9d6063a Fix: Crash with esquery when using JSX (fixes #13639) (#14072) (Yosuke Ota)
  • d6c84af Fix: --init autoconfig shouldn’t add deprecated rules (fixes #14017) (#14060) (Milos Djermanovic)
  • 9b277a1 Fix: Support ENOTDIR error code in the folder existence checking utility (#13973) (Constantine Genchevsky)

Documentation

  • f4ac3b0 Docs: fix sibling selector descriptions (#14099) (Milos Djermanovic)
  • a0871f1 Docs: Triage process (#14014) (Nicholas C. Zakas)
  • b4e2af5 Docs: Add more fields to bug report template (#14039) (Nicholas C. Zakas)

Dependency Upgrades

  • 7aeb127 Upgrade: pin @babel/code-frame@7.12.11 (#14067) (Milos Djermanovic)
  • cb27b0a Build: package.json update for eslint-config-eslint release (ESLint Jenkins)

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

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.

ESLint v9.9.1 released
1 min read

ESLint v9.9.1 released

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

ESLint v9.9.0 released
1 min read

ESLint v9.9.0 released

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