diff options
Diffstat (limited to 'eslint.config.js')
| -rw-r--r-- | eslint.config.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/eslint.config.js b/eslint.config.js index c6154c0..e49e39f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,13 +1,23 @@ 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', }, }, { + files: ['**/*.svelte'], + languageOptions: { + parserOptions: { + parser: ts.parser, + }, + }, + }, + { ignores: [ 'build/', '.svelte-kit/', |
