chore: added no-undef oxlint rule

This commit is contained in:
Arno Wiest
2025-06-13 14:46:24 +02:00
parent cfe7fc675d
commit 01cca7328d
4 changed files with 9 additions and 8 deletions
+4 -5
View File
@@ -200,7 +200,8 @@
"@typescript-eslint/prefer-as-const": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/triple-slash-reference": "error",
"curly": "warn"
"curly": "warn",
"eslint/no-undef": "error"
},
"globals": {
"NodeJS": "writeable"
@@ -225,11 +226,9 @@
],
"overrides": [
{
"files": [
"*.svelte",
"**/*.svelte"
],
"files": ["*.svelte", "**/*.svelte", "**/*.svelte.ts", "**/*.svelte.js"],
"rules": {
"eslint/no-undef": "off",
"no-inner-declarations": "off",
"no-self-assign": "off"
}