
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, andwindoware always included.globals: A list of restricted global names, each optionally paired with a custom message to report when used.
Features
e07820efeat: add global object access detection to no-restricted-globals (#19939) (sethamus)90b050efeat: support explicit resource management inone-var(#19941) (Sweta Tanwar)
Bug Fixes
732433cfix: allow any type formeta.docs.recommendedin custom rules (#19995) (Francesco Trotta)e8a6914fix: Fixed potential bug in check-emfile-handling.js (#19975) (諏訪原慶斗)
Documentation
34f0723docs: playground button for TypeScript code example (#19671) (Tanuj Kanti)dc942a4docs: Update README (GitHub Actions Bot)5a4b6f7docs: Update no-multi-assign.md (#19979) (Yuki Takada (Yukinosuke Takada))247e156docs: add missing let declarations inno-plusplus(#19980) (Yuki Takada (Yukinosuke Takada))0d17242docs: Update README (GitHub Actions Bot)fa20b9ddocs: Clarify when to open an issue for a PR (#19974) (Nicholas C. Zakas)
Build Related
Chores
4258046chore: update dependency @eslint/js to v9.33.0 (#19998) (renovate[bot])ad28371chore: package.json update for @eslint/js release (Jenkins)06a22f1test: resolve flakiness in --mcp flag test (#19993) (Pixel998)54920edtest: switch toLinter.ConfiginESLintRulestype tests (#19977) (Francesco Trotta)
