ESLint v9.8.0 released

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

  • Ignoring the directory where ESLint runs is no longer possible. Previously, a global ignores pattern like "/" would ignore the entire base directory.
  • The feature flags specification has been updated to forbid the usage of inactive flags.

Features

  • 13d0bd3 feat: Add and use SourceCode#getLoc/getRange (#18703) (Nicholas C. Zakas)

Bug Fixes

  • ab0ff27 fix: Throw error when invalid flags passed (#18705) (Nicholas C. Zakas)
  • 70dc803 fix: basePath directory can never be ignored (#18711) (Milos Djermanovic)

Documentation

  • 4514424 build: Enable JSON linting (#18681) (Nicholas C. Zakas)

Chores

  • deee448 chore: upgrade to @eslint/js@9.8.0 (#18720) (Francesco Trotta)
  • 4aaf2b3 chore: package.json update for @eslint/js release (Jenkins)
  • 8e1a627 chore: update dependency @eslint/core to ^0.2.0 (#18700) (renovate[bot])

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.