-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtsconfig.json
46 lines (42 loc) · 971 Bytes
/
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
{
"compilerOptions": {
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist",
"module": "esnext",
"target": "esnext",
"lib": [
"esnext",
"dom",
],
// Bundler mode
"moduleResolution": "bundler",
"verbatimModuleSyntax": true,
// These break compile for some reason?
// "allowImportingTsExtensions": true,
// "noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
//
"alwaysStrict": true,
"noImplicitReturns": true,
"preserveConstEnums": true,
"esModuleInterop": true,
"resolveJsonModule": true,
// Some stricter flags
"useUnknownInCatchVariables": true,
"noPropertyAccessFromIndexSignature": true,
},
"include": [
"./src/**/*",
"./test/**/*",
"./.eslintrc.js",
],
"exclude": [
"./drizzle.config.ts",
],
}