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 7e81463 commit 94a9bc3Copy full SHA for 94a9bc3
src/svelte/svelte-config.js
@@ -1,6 +1,7 @@
1
import globals from 'globals'
2
import jsPlugin from '@eslint/js'
3
import tsPlugin from '@typescript-eslint/eslint-plugin'
4
+import tsParser from '@typescript-eslint/parser'
5
import sveltePlugin from 'eslint-plugin-svelte'
6
import svelteParser from 'svelte-eslint-parser'
7
@@ -11,6 +12,9 @@ export const svelteConfig = {
11
12
sourceType: 'module',
13
ecmaVersion: 'latest',
14
parser: svelteParser,
15
+ parserOptions: {
16
+ parser: tsParser,
17
+ },
18
globals: {
19
...globals.es2021,
20
...globals.browser,
0 commit comments