Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

eslint.config.js

16 lines363 Bytes

1// @ts-check
2​
3import pluginSvelte from 'eslint-plugin-svelte'
4import rootConfig from './root.eslint.config.js'
5​
6export default [
7 ...rootConfig,
8 ...pluginSvelte.configs['flat/recommended'],
9 {
10 rules: {
11 'svelte/block-lang': ['error', { script: ['ts'] }],
12 'svelte/no-svelte-internal': 'error',
13 'svelte/valid-compile': 'off',
14 },
15 },