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

oxlint.config.ts

23 lines612 Bytes

1import { defineConfig } from 'oxlint'
2import rootConfig from './root.oxlint.config.ts'
3​
4export default defineConfig({
5 extends: [rootConfig],
6 settings: rootConfig.settings,
7 overrides: [
8 {
9 // TODO: These were never applied to Svelte components by ESLint
10 files: ['**/*.svelte'],
11 rules: {
12 'import/no-duplicates': 'off',
13 },
14 },
15 {
16 files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
17 rules: {
18 // Svelte runes and proxy state produce false positives for this rule.
19 'typescript/no-unnecessary-condition': 'off',
20 },
21 },
22 ],
23})