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.

What's coming in ESLint v10.0.0
4 min read

What's coming in ESLint v10.0.0

We want to share with you the significant changes that will be coming in v10.0.0 so you can better prepare for the changes and understand why the changes are necessary.

ESLint v9.37.0 released
2 min read

ESLint v9.37.0 released

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

ESLint v9.36.0 released

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