ESLint v8.52.0 released

We just pushed ESLint v8.52.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

Unused eslint-enable directives

The CLI option --report-unused-disable-directives and the config option reportUnusedDisableDirectives:true now also report and autofix unused eslint-enable directives. An eslint-enable directive is considered unused if it doesn’t match with any eslint-disable directives, meaning that it doesn’t re-enable any rules.

/* eslint-disable no-console */

console.log("hello");

/* eslint-enable no-continue -- this directive is unused */

Features

  • 70648ee feat: report-unused-disable-directive to report unused eslint-enable (#17611) (Yosuke Ota)

Bug Fixes

Documentation

Chores

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

ESLint v9.20.1 released
1 min read

ESLint v9.20.1 released

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

ESLint v9.20.0 released
2 min read

ESLint v9.20.0 released

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

Differences between ESLint and TypeScript
7 min read

Differences between ESLint and TypeScript

Linters such as ESLint and type checkers such as TypeScript catch different areas of code defects and are best used in conjunction with each other.