-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
46 lines (46 loc) · 1.28 KB
/
tsconfig.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"compilerOptions": {
"target": "ES2022",
"useDefineForClassFields": true,
"lib": ["ES2022", "DOM", "DOM.Iterable", "WebWorker"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"allowUmdGlobalAccess": true,
"allowArbitraryExtensions": true,
"resolvePackageJsonExports": true,
"resolvePackageJsonImports": true,
"types": ["vite/client", "vitest/globals"],
"typeRoots": ["./node_modules/@types", "./src/types", "./node_modules"],
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
/* Diagnostics */
"diagnostics": true,
// "explainFiles": true,
"extendedDiagnostics": true,
// "generateCpuProfile": "profile.cpuprofile",
// "traceResolution": true,
// "allowJs": true,
/* Linting */
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": false,
"noImplicitAny": false,
"strictNullChecks": true
},
"include": ["vite.config.ts", ".eslintrc.cjs", ".lintstagedrc.cjs", "src"],
"references": [
{
"path": "./tsconfig.node.json"
}
]
}