mirror of
https://github.com/rmccorkl/TubeSage.git
synced 2026-07-22 06:45:31 +00:00
The local prefer-active-doc rule flagged every `window` identifier as preferring `activeWindow`. obsidianmd 0.3.0's new `prefer-window-timers` rule requires the opposite for timer calls (`window.setTimeout` etc.), so the two rules contradicted, leaving 11 unfixable warnings. Add a `window.<timerMethod>` carve-out to the local rule, mirroring the same exception in upstream eslint-plugin-obsidianmd's prefer-active-doc. Lint now reports 0 warnings (4 errors remain: intentional brand-name casing left per project decision). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| prefer-active-doc-fixed.mjs | ||