1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import eslintPluginSvelte from 'eslint-plugin-svelte';
import ts from 'typescript-eslint';
export default [
...eslintPluginSvelte.configs['flat/recommended'],
...eslintPluginSvelte.configs['flat/prettier'],
{
rules: {
'svelte/no-at-html-tags': 'off',
'svelte/no-navigation-without-resolve': 'off',
},
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser,
},
},
},
{
ignores: [
'build/',
'.svelte-kit/',
'dist/',
'node_modules/',
'package-lock.json',
],
},
];
|