ESLint v9.x reached end-of-life on 2026-08-06 and is no longer maintained. Upgrade or consider long-term support options

ESLint v10.13.0 released

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

Several core rules have been updated to report more linting problems.

no-use-before-define

The no-use-before-define rule has been updated to account for the fact that IIFEs execute immediately by treating them as part of the execution context where they are defined and called.

This change can produce more linting errors in cases such as the following:

/* eslint no-use-before-define: ["error", { variables: false }] */

(() => {
    console.log(foo); // 'foo' was used before it was defined.
})();

const foo = "bar";

no-obj-calls

The no-obj-calls rule has been updated to report calls to globalThis.

/* eslint no-obj-calls: "error" */

const foo = globalThis(); // 'globalThis' is not a function.

const bar = new globalThis(); // 'globalThis' is not a function.

no-unsafe-optional-chaining

The no-unsafe-optional-chaining rule has been updated to report unsafe usage of optional chaining in arguments of yield*.

/* eslint no-unsafe-optional-chaining: "error" */

function* gen() {
    yield* obj?.foo; // Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError.
}

Features

Bug Fixes

Documentation

  • 4783a68 docs: Update README (GitHub Actions Bot)
  • 43f0ac9 docs: clarify parameter description in getText (#21287) (lumir)

Chores

  • b59d889 chore: update github/codeql-action action to v4.38.3 (#21412) (renovate[bot])
  • 95e51a0 ci: re-enable @typescript-eslint/typescript-eslint in ecosystem tests (#21410) (Francesco Trotta)
  • 317fcb3 chore: update ecosystem plugins (#21409) (ESLint Bot)
  • b92decf perf: skip no-redeclare scan for single-declaration variables (#21365) (James Ross)
  • 47b7063 chore: update dependency @eslint/json to ^2.1.1 (#21398) (renovate[bot])
  • e5aea41 chore: update ecosystem plugins (#21390) (ESLint Bot)

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

ESLint v10.12.0 released
2 min read

ESLint v10.12.0 released

We just pushed ESLint v10.12.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 v10.11.0 released
2 min read

ESLint v10.11.0 released

We just pushed ESLint v10.11.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 v10.10.0 released
1 min read

ESLint v10.10.0 released

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