forked from zengm-games/zengm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (26 loc) · 711 Bytes
/
tsconfig.json
File metadata and controls
29 lines (26 loc) · 711 Bytes
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
{
"compilerOptions": {
// Based on https://www.totaltypescript.com/tsconfig-cheat-sheet
"esModuleInterop": true,
"skipLibCheck": true,
"target": "esnext",
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
"strict": true,
"noImplicitOverride": true,
"module": "preserve",
"noEmit": true,
// Extra strictness
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
// Maybe would be nice, but too much legacy crap
"useUnknownInCatchVariables": false,
"allowImportingTsExtensions": true,
"erasableSyntaxOnly": true,
"jsx": "react-jsx"
},
"include": ["src", "tools"]
}