ESLint v9.33.0 released

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

Explicit resource management support in one-var

The one-var rule now handles variables declared with the using and await using syntax, for example:

async function test() {
    using foo = 1, bar = 2;
    await using baz = 3, qux = 4;
}

using and await using declarations are part of the explicit resource management feature introduced in ES2026 JavaScript.

Global object access detection in no-restricted-globals

The no-restricted-globals rule can now catch usages of restricted globals when they’re accessed as properties of the global object, such as window.Promise. This enhanced behavior is controlled by three new options:

  • checkGlobalObjectAccess: A boolean that, when enabled, reports restricted globals accessed via the global object.
  • globalObjects: A list of identifiers treated as global object references. globalThis, self, and window are always included.
  • globals: A list of restricted global names, each optionally paired with a custom message to report when used.

Features

Bug Fixes

  • 732433c fix: allow any type for meta.docs.recommended in custom rules (#19995) (Francesco Trotta)
  • e8a6914 fix: Fixed potential bug in check-emfile-handling.js (#19975) (諏訪原慶斗)

Documentation

  • 27fa865 build: use ESLint class to generate formatter examples (#19972) (Milos Djermanovic)

Chores

  • 4258046 chore: update dependency @eslint/js to v9.33.0 (#19998) (renovate[bot])
  • ad28371 chore: package.json update for @eslint/js release (Jenkins)
  • 06a22f1 test: resolve flakiness in --mcp flag test (#19993) (Pixel998)
  • 54920ed test: switch to Linter.Config in ESLintRules type tests (#19977) (Francesco Trotta)

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

ESLint v9.32.0 released
2 min read

ESLint v9.32.0 released

We just pushed ESLint v9.32.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 v9.31.0 released
2 min read

ESLint v9.31.0 released

We just pushed ESLint v9.31.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 v9.30.1 released
1 min read

ESLint v9.30.1 released

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