generated from mojaloop/typescript-bc-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
53 lines (53 loc) · 1.32 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
46
47
48
49
50
51
52
53
{
"include": [
"**/src/**/*.ts"
],
"exclude": [
"node_modules",
"**/*.spec.ts",
"test",
"lib",
"coverage"
],
"compilerOptions": {
"outDir": ".",
// prevents this tsconfig from compiling any files
"target": "ES2022",
"module": "commonjs",
"types": [
"node",
"jest"
],
"lib": [
"ES2022"
],
"importHelpers": true,
"declaration": true,
"sourceMap": true,
"skipLibCheck": true,
"strict": true,
// this includes all string enforcing rules ?
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": false,
"noImplicitThis": true,
"alwaysStrict": true,
"resolveJsonModule": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
// Needed for CommonJS modules
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"*": [
"src/*",
"node_modules/*"
]
},
"esModuleInterop": true
}
}