generated from Louis3797/express-ts-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 36
/
tsconfig.json
38 lines (37 loc) · 1.11 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
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2022",
"sourceMap": true,
"outDir": "dist",
"baseUrl": ".",
"sourceRoot": "./src",
"incremental": true,
"skipLibCheck": true,
"typeRoots": ["./node_modules/@types", "./src/types"],
"lib": ["es2022", "dom"],
"moduleResolution": "node",
"resolveJsonModule": true,
// strict settings
"strict": true,
"strictNullChecks": true,
"allowUnusedLabels": false,
"noImplicitAny": true,
"noImplicitThis": true,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": false, // is false bc of some error with next() and other returns
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
},
}