aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.js
blob: e49e39f686502e793d2fe580a5544eaa372b1295 (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
24
25
26
27
28
29

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/',
			'dist/',
			'node_modules/',
			'package-lock.json',
		],
	},
];