-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
44 lines (39 loc) · 1.2 KB
/
tsconfig.json
File metadata and controls
44 lines (39 loc) · 1.2 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
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Path resolution
"paths": {
"@server/*": ["./server/src/*"],
"@client/*": ["./client/src/*"],
"@shared/*": ["./shared/src/*"],
"@ges/core/*": ["./packages/core/src/*"],
"@ges/engine/*": ["./packages/engine/src/*"],
"@ges/ecs/*": ["./packages/ecs/src/*"],
"@ges/renderer/*": ["./packages/renderer/src/*"]
},
// Module resolution
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"verbatimModuleSyntax": true,
// Strictness and best practices
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"experimentalDecorators": true,
// Output control
"skipLibCheck": true,
// Optional strict flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
"outDir": "$$t-jest$$"
}
}