
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
, andwindow
are always included.globals
: A list of restricted global names, each optionally paired with a custom message to report when used.
Features
e07820e
feat: add global object access detection to no-restricted-globals (#19939) (sethamus)90b050e
feat: support explicit resource management inone-var
(#19941) (Sweta Tanwar)
Bug Fixes
732433c
fix: allow any type formeta.docs.recommended
in custom rules (#19995) (Francesco Trotta)e8a6914
fix: Fixed potential bug in check-emfile-handling.js (#19975) (諏訪原慶斗)
Documentation
34f0723
docs: playground button for TypeScript code example (#19671) (Tanuj Kanti)dc942a4
docs: Update README (GitHub Actions Bot)5a4b6f7
docs: Update no-multi-assign.md (#19979) (Yuki Takada (Yukinosuke Takada))247e156
docs: add missing let declarations inno-plusplus
(#19980) (Yuki Takada (Yukinosuke Takada))0d17242
docs: Update README (GitHub Actions Bot)fa20b9d
docs: Clarify when to open an issue for a PR (#19974) (Nicholas C. Zakas)
Build Related
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 toLinter.Config
inESLintRules
type tests (#19977) (Francesco Trotta)