diff --git a/.eslintrc.cjs b/.eslintrc.cjs index b3430c3..78cce1e 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -23,6 +23,7 @@ module.exports = { ], rules: { "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }], + "@typescript-eslint/ban-ts-comment": ["error", { "ts-ignore": "allow-with-description" }], }, parserOptions: { sourceType: "module", diff --git a/src/App.svelte b/src/App.svelte index 51594dd..7419087 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -7,7 +7,7 @@ import Keys from "$routes/keys.svelte"; const routes = { "/": wrap({ - // @ts-ignore + // @ts-ignore: svelte4 type issues, will probably migrate back to SvelteKit later since spa-router seems unmaintained component: Keys, userData: { title: "Keys", @@ -31,7 +31,7 @@ }, }), "*": wrap({ - // @ts-ignore + // @ts-ignore: svelte4 type issues, will probably migrate back to SvelteKit later since spa-router seems unmaintained component: Keys, }), };