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.

ESLint v8.23.1 released
1 min read

ESLint v8.23.1 released

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

ESLint v8.23.0 released
1 min read

ESLint v8.23.0 released

We just pushed ESLint v8.23.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 v8.22.0 released
1 min read

ESLint v8.22.0 released

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