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:
vorotamoroz
2026-09-17 11:06:53 +00:00
parent ef99cd8499
commit 00abaf2668
+1
View File
@@ -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",