mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-09-21 18:17:05 +00:00
Reject direct global access in community lint checks
Make no-global-this an error so quiet validation detects violations of Obsidian window compatibility rules.
This commit is contained in:
@@ -52,6 +52,7 @@ export default defineConfig(
|
||||
"obsidianmd/rule-custom-message": "off",
|
||||
"no-console": "warn",
|
||||
"obsidianmd/no-unsupported-api": "error",
|
||||
"obsidianmd/no-global-this": "error",
|
||||
// Keep legacy type-safety debt visible while reserving errors for directory-review blockers.
|
||||
"@typescript-eslint/no-unsafe-argument": "warn",
|
||||
"@typescript-eslint/no-unsafe-assignment": "warn",
|
||||
|
||||
Reference in New Issue
Block a user