You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(eslint): exempt .d.ts from no-var/vars-on-top (ambient globalThis typing) — 0.1.1
Ambient `declare var X` is the only construct that augments `typeof globalThis`
(const/let don't merge; an interface Window augmentation types window.X not
globalThis.X, which unicorn/prefer-global-this steers toward). no-var/vars-on-top
therefore only ever false-positive on .d.ts; a new declarationFileOverrides() block
(appended last in every preset, before consumer overrides) turns them off for **/*.d.ts.
Consuming projects (e.g. fluxo) can drop their local .d.ts override. Tests 11/11,
self-lint + format clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments