snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
28
packages/svelte-query-devtools/eslint.config.js
Normal file
28
packages/svelte-query-devtools/eslint.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
// @ts-check
|
||||
|
||||
import tsParser from '@typescript-eslint/parser'
|
||||
import pluginSvelte from 'eslint-plugin-svelte'
|
||||
import rootConfig from './root.eslint.config.js'
|
||||
import svelteConfig from './svelte.config.js'
|
||||
|
||||
export default [
|
||||
...rootConfig,
|
||||
...pluginSvelte.configs['recommended'],
|
||||
{
|
||||
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
parser: tsParser,
|
||||
extraFileExtensions: ['.svelte'],
|
||||
svelteConfig,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
rules: {
|
||||
'svelte/block-lang': ['error', { script: ['ts'] }],
|
||||
'svelte/no-svelte-internal': 'error',
|
||||
'svelte/valid-compile': 'off',
|
||||
},
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user