Disable prefer-const for Svelte for now

https://github.com/sveltejs/eslint-plugin-svelte/issues/818#issuecomment-2570986849
This commit is contained in:
Abdo 2025-08-14 07:59:48 +03:00
parent 25f51345d5
commit 7e021a9408

View file

@ -46,6 +46,9 @@ module.exports = {
"svelte/no-at-html-tags": "off", "svelte/no-at-html-tags": "off",
"svelte/valid-compile": ["error", { "ignoreWarnings": true }], "svelte/valid-compile": ["error", { "ignoreWarnings": true }],
"@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-explicit-any": "off",
"prefer-const": "off",
// TODO: enable this when we update to eslint-plugin-svelte 3
// "svelte/prefer-const": "warn",
}, },
}, },
], ],