-
Notifications
You must be signed in to change notification settings - Fork 7
/
tsconfig.json
41 lines (41 loc) · 969 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
37
38
39
40
41
{
"exclude": [
"node_modules",
"lib",
"examples"
],
"compilerOptions": {
// target
"target": "ES2019",
// DOM is not really valid here, but TextEncoder available only in DOM lib
"lib": [
"ESNext",
"DOM"
],
"module": "commonjs",
"moduleResolution": "node",
// build
"esModuleInterop": true,
"preserveConstEnums": true,
"skipLibCheck": true,
"importHelpers": true,
"noEmit": true,
"resolveJsonModule": true,
"isolatedModules": true,
// linting
"strict": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"noErrorTruncation": true,
"importsNotUsedAsValues": "error",
// sources
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"inlineSources": true
}
}