aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js10
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/',