logancyang_obsidian-copilot/scripts
Zero Liu 710acc2436
chore(lint): enable obsidianmd/no-global-this and fix violations (#2413)
Removes the deferred `"off"` override and rewrites the 55 violations
(all in test/mocks/Node-script files) to use `window.*` instead of
`global.*`. Production code was already cleaned up in #2401.

- 18 test files + __mocks__/obsidian.js + jest.setup.js: mechanical
  `global.X` → `window.X` (Jest runs under jsdom, so window === globalThis)
- scripts/printPromptDebugEntry.ts: inline eslint-disable — Node-only
  debug script with no window available

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 01:14:47 -07:00
..
stubs Merge 3.1.0 preview (#1906) 2025-10-10 21:38:50 -07:00
printPromptDebug.js Merge 3.1.0 preview (#1906) 2025-10-10 21:38:50 -07:00
printPromptDebugEntry.ts chore(lint): enable obsidianmd/no-global-this and fix violations (#2413) 2026-05-13 01:14:47 -07:00