-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtsconfig.json
45 lines (45 loc) · 954 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
42
43
44
45
{
"compilerOptions": {
"strict": true,
// project options
"allowJs": true,
"checkJs": true,
"target": "ES2019",
"lib": [
"ES2019",
"ES2020.Promise",
"ES2020.String",
"ES2020.BigInt",
"DOM",
"DOM.Iterable"
],
"noEmitOnError": 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,
"outDir": "dist"
},
"include": [
"."
],
"exclude": [
"*.umd.js",
"dist",
"node_modules"
]
}