/
tsconfig.json
85 lines (84 loc) · 2.03 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"compilerOptions": {
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
"baseUrl": ".",
"rootDir": ".",
// Apparently required when using pnpm and such
"preserveSymlinks": true,
"allowJs": false,
"checkJs": false,
"skipLibCheck": true,
"incremental": true,
"paths": {
"#controllers/*": [
"./server/controllers/*.js",
],
"#data/*": [
"./server/data/*.js",
],
"#db/*": [
"./server/db/*.js",
],
"#fixtures/*": [
"./tests/api/fixtures/*.js",
],
"#i18nAssets/*": [
"./inventaire-i18n/assets/*.js",
],
"#lib/*": [
"./server/lib/*.js",
],
"#models/*": [
"./server/models/*.js",
],
"#scripts/*": [
"./scripts/*.js",
],
"#server/*": [
"./server/*.js",
],
"#tests/*": [
"./tests/*.js",
],
"#types/*": [
"./server/types/*.js",
],
},
// Type checking flags, see https://www.typescriptlang.org/tsconfig#Type_Checking_6248
// "exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
// "noImplicitAny": true,
"noImplicitOverride": true,
// "noImplicitReturns": true,
"noImplicitThis": true,
// "noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"strictBindCallApply": true,
// "strictFunctionTypes": true,
// "strictNullChecks": true,
// "strictPropertyInitialization": true,
// "useUnknownInCatchVariables": true,
// Flags redundant with ESLint, adding noise to type error reports
// "allowUnreachableCode": false,
// "allowUnusedLabels": false,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
},
"include": [
"server/**/*",
"scripts/**/*",
"tests/**/*",
"types/**/*",
],
"exclude": [
"./client/**/*",
"./config/**/*",
"./db/**/*",
"./dist/**/*",
"./dumps/**/*",
"./storage/**/*",
"**/node_modules/*",
]
}