-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
70 lines (69 loc) · 2.03 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
// @see https://www.typescriptlang.org/tsconfig
// @see https://www.typescriptlang.org/docs/handbook/project-references.html
// @see https://www.typescriptlang.org/docs/handbook/configuring-watch.html
// when conflicted, follow https://bun.sh/docs/ecosystem/typescript#compiler-options
"$schema": "https://json.schemastore.org/tsconfig",
"watchOptions": {
"excludeDirectories": [
"**/node_modules",
"**/.git",
"**/build",
"**/.turbo",
"**/dist",
"**/lib"
]
},
"exclude": [
"**/node_modules",
"**/.git",
"**/build",
"**/.turbo",
"**/dist",
"**/lib"
],
"compilerOptions": {
"allowImportingTsExtensions": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"assumeChangesOnlyAffectDirectDependencies": true,
"baseUrl": ".",
"checkJs": false, // throws too many errors in third party shit
"composite": true,
"declaration": true,
"declarationMap": true,
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": false,
"jsx": "react-jsx",
"lib": ["ESNext"],
"module": "esnext",
"moduleDetection": "force",
"moduleResolution": "bundler",
"noEmit": true,
"noErrorTruncation": false,
"noFallthroughCasesInSwitch": false,
"noImplicitAny": false, // never set this to false
"noImplicitThis": true,
"preserveConstEnums": true,
"preserveSymlinks": false, // if true breaks A extends B, A will have no properties of B
"pretty": false,
"removeComments": false,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"strictFunctionTypes": true,
"strictNullChecks": false,
"target": "esnext",
"types": ["bun-types"],
"useUnknownInCatchVariables": true
// "importsNotUsedAsValues": "error",
// "noUnusedLocals": false,
// "preserveValueImports": true,
}
}