blob: 7a1890cb3c37cf8238a6420182fdb38eabfd9ce6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import svelte from 'eslint-plugin-svelte';
import ts from 'typescript-eslint';
import library from '@repo/eslint-config/eslint.library.config.js';
const svelteConfig = ts.config(
...svelte.configs['flat/recommended'],
...svelte.configs['flat/prettier'],
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser
}
}
},
{
ignores: ['build/', '.svelte-kit/', 'dist/']
}
);
/** @type {import("eslint").Linter.Config[]} */
export default [...library, ...svelteConfig];
|