-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathtsconfig.json
More file actions
64 lines (61 loc) · 1.68 KB
/
tsconfig.json
File metadata and controls
64 lines (61 loc) · 1.68 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
55
56
57
58
59
60
61
62
63
64
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
// "checkJs": true,
"skipLibCheck": true,
// strictness
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
// "exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true,
// "noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
// "noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmit": true,
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
// @see https://github.com/orgs/pnpm/discussions/4331#discussioncomment-3379386 for pnpm's config recommendation
// @see https://github.com/pnpm/pnpm/issues/6585#issuecomment-1562126171 for hoisting types
"preserveSymlinks": false,
"jsx": "preserve",
"plugins": [{ "name": "next" }],
"baseUrl": "."
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"env.d.ts",
".next/types/**/*.ts",
"global.d.ts"
],
"exclude": ["node_modules", ".next"],
// @see https://github.com/nrwl/nx/issues/3106#issuecomment-703154400
"references": [
{
"path": "../../packages/wallet"
},
{
"path": "../../packages/colors"
},
{
"path": "../../packages/components"
},
{
"path": "../../packages/icons"
}
]
}