-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.base.json
50 lines (50 loc) · 1.39 KB
/
tsconfig.base.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
{
"compileOnSave": false,
"compilerOptions": {
// Basic Options
"allowJs": false,
"declaration": false,
"lib": ["ESNext", "dom"],
"module": "ESNext",
"sourceMap": true,
"target": "ES2020",
// Strict Type-Checking Options
"alwaysStrict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUncheckedIndexedAccess": true,
"strict": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
// Module Resolution Options
"baseUrl": ".",
"moduleResolution": "node",
"paths": {
"@journals/adapters/repositories": [
"packages/adapters/repositories/src/index.ts"
],
"@journals/core": ["packages/core/src/index.ts"],
"@journals/usecases": ["packages/usecases/src/index.ts"]
},
"typeRoots": ["node_modules/@types"],
// Interoperability and Emit Options
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"importHelpers": true,
"noEmit": true, // Required by allowImportingTsExtensions
// Performance Options
"skipDefaultLibCheck": true,
"skipLibCheck": true,
// Additional Checks
"allowImportingTsExtensions": true,
"allowUnreachableCode": false,
"forceConsistentCasingInFileNames": true
},
"exclude": ["node_modules", "tmp"]
}