-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
54 lines (50 loc) · 1.72 KB
/
Copy pathtsconfig.json
File metadata and controls
54 lines (50 loc) · 1.72 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
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
"types": ["bun"],
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
"paths": {
"@/*": ["./src/*"],
"@glfw": ["./src/library/glfw/index.ts"],
"@glfw/*": ["./src/library/glfw/*"],
"@image": ["./src/library/image/index.ts"],
"@image/*": ["./src/library/image/*"],
"@miniaudio": ["./src/library/miniaudio/index.ts"],
"@miniaudio/*": ["./src/library/miniaudio/*"],
"@truetype": ["./src/library/truetype/index.ts"],
"@truetype/*": ["./src/library/truetype/*"],
"@flying": ["./src/flying/index.ts"],
"@flying/*": ["./src/flying/*"],
"@cstruct": ["./src/utility/cstruct/index.ts"],
"@base-struct": ["./src/utility/base-struct.ts"],
"@tscallback": ["./src/utility/callback.ts"],
"@cwstring": ["./src/utility/cwstring.ts"],
"@basestruct": ["./src/utility/base-struct.ts"],
"@constant": ["./src/utility/constant.ts"],
"@utility/*": ["./src/utility/*"],
"@vectors": ["./src/utility/vectors/index.ts"],
"@vectors/*": ["./src/utility/vectors/*"],
},
},
"exclude": ["./ffi"],
}