mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 15:17:12 -05:00
Disable prefer-const for Svelte for now
https://github.com/sveltejs/eslint-plugin-svelte/issues/818#issuecomment-2570986849
This commit is contained in:
parent
25f51345d5
commit
7e021a9408
1 changed files with 3 additions and 0 deletions
|
|
@ -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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue