mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Refactor ESLint rules for Svelte components to improve linting accuracy
This commit is contained in:
+3
-8
@@ -41,14 +41,9 @@ export default ts.config(
|
|||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
"svelte/no-unused-svelte-ignore": "warn",
|
"svelte/no-unused-svelte-ignore": "warn",
|
||||||
"@typescript-eslint/no-unused-vars": [
|
"svelte/no-useless-mustaches": "warn",
|
||||||
"warn",
|
"svelte/require-each-key": "warn",
|
||||||
{
|
"svelte/no-at-html-tags": "off",
|
||||||
argsIgnorePattern: "^_",
|
|
||||||
varsIgnorePattern: "^(_|\\$\\$)",
|
|
||||||
destructuredArrayIgnorePattern: "^_",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user