-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
45 lines (42 loc) · 1.06 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
{
"compilerOptions": {
"outDir": "./lib",
"esModuleInterop": true,
"target": "es5",
"moduleResolution": "node",
"importHelpers": true,
"sourceMap": true,
"declaration": true,
"skipLibCheck": true,
"baseUrl": "./",
"preserveSymlinks": true,
"allowJs": true,
"lib": ["es2020"],
"module": "commonjs",
"resolveJsonModule": true,
"types": ["node", "jest"],
// https://github.com/microsoft/TypeScript/issues/40328
"noEmitHelpers": false,
// Strictness and code quality options
"alwaysStrict": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"exclude": [
"node_modules",
"**/*.spec.ts"
],
"include": [
"./src/**/*.ts",
"./src/**/*.json",
"./__tests__/**/*.ts"
]
}