-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
52 lines (51 loc) · 1.67 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
47
48
49
50
51
52
{
"compilerOptions": {
"incremental": true,
"target": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
// Type checking
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"useDefineForClassFields": true,
"useUnknownInCatchVariables": true,
"noErrorTruncation": true,
"types": ["@types/node", "vitest/globals", "@testing-library/jest-dom"],
"paths": {
"components/*": ["./src/app/components/*"],
"elements/*": ["./src/app/elements/*"],
"containers/*": ["./src/app/containers/*"],
"groups/*": ["./src/app/groups/*"],
"routes": ["./src/app/routes"],
"routes/*": ["./src/app/routes/*"],
"sections/*": ["./src/app/sections/*"],
"store/*": ["./src/app/store/*"],
"utils": ["./src/app/utils"],
"utils/*": ["./src/app/utils/*"],
"img/*": ["./src/app/img/*"],
"server/*": ["./server/*"],
"common/*": ["./src/common/*"],
"machines/*": ["./src/app/machines/*"],
"types": ["./src/app/types"]
}
},
"typeRoots": ["./node_modules/@types", "./src/types"],
"include": ["src", "server"],
"references": [{ "path": "./tsconfig.node.json" }]
}