-
Notifications
You must be signed in to change notification settings - Fork 10
/
tsconfig.json
36 lines (36 loc) · 939 Bytes
/
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
{
"compilerOptions": {
"strict": true,
"outDir": "dist",
// project options
"allowJs": true,
"checkJs": true,
"target": "ES2022",
"module": "ES2022",
"lib": ["ES2021", "ES2021.Promise", "ES2021.String", "DOM"],
"noEmit": false,
"noEmitOnError": true,
"emitDeclarationOnly": false,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"incremental": true,
"composite": true,
"isolatedModules": true,
"removeComments": false,
// module resolution
"esModuleInterop": true,
"moduleResolution": "Node",
// linter checks
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": false,
// advanced
"importsNotUsedAsValues": "error",
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"stripInternal": true,
"resolveJsonModule": true
}
}