-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathindex.ts
More file actions
33 lines (31 loc) · 765 Bytes
/
index.ts
File metadata and controls
33 lines (31 loc) · 765 Bytes
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
30
31
32
33
import type { OxlintConfig } from 'oxlint'
import { defineConfig } from 'oxlint'
import { javascriptConfig } from './javascript.ts'
import { importConfig } from './import.ts'
import { typescriptConfig } from './typescript.ts'
import { nodeConfig } from './node.ts'
import { stylisticConfig } from './stylistic.ts'
const GLOB_EXCLUDE = [
'**/.nx/**',
'**/.svelte-kit/**',
'**/build/**',
'**/coverage/**',
'**/dist/**',
'**/snap/**',
'**/vite.config.*.timestamp-*.*',
]
export const tanstackConfig: OxlintConfig = defineConfig({
extends: [
javascriptConfig,
typescriptConfig,
importConfig,
nodeConfig,
stylisticConfig,
],
env: {
builtin: true,
es2020: true,
browser: true,
},
ignorePatterns: GLOB_EXCLUDE,
})