-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
123 lines (112 loc) Β· 3.96 KB
/
tsconfig.json
File metadata and controls
123 lines (112 loc) Β· 3.96 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"compilerOptions": {
// ============================================================
// Language & Environment
// ============================================================
"target": "ES2022",
"lib": ["ES2022", "DOM"],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// ============================================================
// Modules
// ============================================================
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"allowJs": true,
"checkJs": false,
// ============================================================
// Output
// ============================================================
"outDir": "./dist",
"rootDir": "./src",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"removeComments": false,
"noEmitOnError": false,
// ============================================================
// Interop Constraints
// ============================================================
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// ============================================================
// Type Checking - STRICT (Elite Enterprise)
// ============================================================
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"alwaysStrict": true,
// ============================================================
// Additional Checks
// ============================================================
"noUnusedLocals": false, // Set to true for production
"noUnusedParameters": false, // Set to true for production
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
// ============================================================
// Performance & Advanced
// ============================================================
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
// ============================================================
// Paths & Resolution
// ============================================================
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@core/*": ["src/core/*"],
"@auditor/*": ["src/auditor/*"],
"@enterprise/*": ["src/enterprise/*"],
"@brain/*": ["src/brain/*"],
"@types/*": ["src/types/*"]
},
// ============================================================
// Types
// ============================================================
"types": ["node", "jest"],
// ============================================================
// Emit
// ============================================================
"preserveConstEnums": true,
"stripInternal": false
},
// ============================================================
// Include/Exclude
// ============================================================
"include": [
"src/**/*",
"src/**/*.json",
"test/**/*.ts",
"scripts/**/*.ts",
"surgery-room/**/*.js"
],
"exclude": [
"node_modules",
"dist",
"coverage",
"**/*.test.ts",
"**/*.spec.ts",
"blockchain/**/*",
"surgery-room/repairs/**/*",
"surgery-room/successful/**/*",
"surgery-room/failed/**/*"
],
// ============================================================
// References (for project references if needed)
// ============================================================
"references": []
}