We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1a42a commit 0475e3bCopy full SHA for 0475e3b
src/lib/mcp/autofixers/add-eslint-issues.ts
@@ -2,6 +2,7 @@ import { ESLint } from 'eslint';
2
import svelte_parser from 'svelte-eslint-parser';
3
import svelte from 'eslint-plugin-svelte';
4
import type { Config } from '@sveltejs/kit';
5
+import ts from 'typescript-eslint';
6
7
let svelte_5_linter: ESLint | undefined;
8
@@ -41,6 +42,8 @@ function base_config(svelte_config: Config): ESLint.Options['baseConfig'] {
41
42
sourceType: 'module',
43
parser: svelte_parser,
44
parserOptions: {
45
+ extraFileExtensions: ['.svelte'],
46
+ parser: ts.parser,
47
svelteConfig: svelte_config,
48
},
49
0 commit comments