mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-26 11:03:21 +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:
1 parent
ef99cd8499
commit
00abaf2668
1 file changed
+1
@@ -52,6 +52,7 @@ export default defineConfig(
|
|||||||
"obsidianmd/rule-custom-message": "off",
|
"obsidianmd/rule-custom-message": "off",
|
||||||
"no-console": "warn",
|
"no-console": "warn",
|
||||||
"obsidianmd/no-unsupported-api": "error",
|
"obsidianmd/no-unsupported-api": "error",
|
||||||
|
"obsidianmd/no-global-this": "error",
|
||||||
// Keep legacy type-safety debt visible while reserving errors for directory-review blockers.
|
// Keep legacy type-safety debt visible while reserving errors for directory-review blockers.
|
||||||
"@typescript-eslint/no-unsafe-argument": "warn",
|
"@typescript-eslint/no-unsafe-argument": "warn",
|
||||||
"@typescript-eslint/no-unsafe-assignment": "warn",
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
||||||
|
|||||||
Reference in new issue
Block a user