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 v4.8.0 released

We just pushed ESLint v4.8.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

–report-unused-disable-directives

This release includes a new CLI option that, when on, reports unused eslint-disable directives! Running this periodically will ensure that all eslint-disable comments are still relevant and up to date.

Please see the documentation for more information.

Features

  • 3f2b908 New: add option to report unused eslint-disable directives (fixes #9249) (#9250) (Teddy Katz)

Bug Fixes

  • ff2be59 Fix: dot notation rule failing to catch string template (fixes #9350) (#9357) (Phil Quinn)
  • 06efe87 Fix: Add meta element with charset attribute. (#9365) (H1Gdev)
  • 1c6bc67 Fix: special EventEmitter keys leak information about other rules (#9328) (Teddy Katz)
  • 38d0cb2 Fix: fix wrong code-path about try-for-in (fixes #8848) (#9348) (Toru Nagashima)
  • 434d9e2 Fix: Invalid font-size property value issue. (#9341) (H1Gdev)

Documentation

Chores

  • b1372da Chore: remove sourceCode property from Linter (refs #9161) (#9363) (Teddy Katz)
  • a7668c2 Chore: Remove unnecessary slice from logging utility (#9343) (Gyandeep Singh)
  • 2ff6fb6 Chore: remove unused arguments in codebase (#9340) (Teddy Katz)

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.