generated from archoleat/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
56 lines (56 loc) · 1.48 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
{
"compilerOptions": {
// Editor Support
"plugins": [
{
"name": "next"
},
{
"name": "typescript-plugin-css-modules"
}
],
// Emit
"noEmit": true,
// Completeness
"skipLibCheck": true,
// JavaScript Support
"allowJs": true,
// Language and Environment
"jsx": "preserve",
"lib": ["DOM.Iterable", "DOM", "ESNext"],
"target": "ESNext",
// Modules
"allowImportingTsExtensions": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
"@/config/*": ["./src/app/config/*"],
"@/providers/*": ["./src/app/providers/*"],
"@/socials/*": ["./public/socials/*"],
"@/styles/*": ["./src/app/styles/*"],
"@/types/*": ["./src/shared/types/*"],
"@/ui/*": ["./src/shared/ui/*"],
"@/widgets/*": ["./src/widgets/*"]
},
"resolveJsonModule": true,
// Projects
"disableReferencedProjectLoad": true,
"incremental": true,
// Type Checking
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
// Interop Constraints
"esModuleInterop": true,
"isolatedModules": true
},
"exclude": ["node_modules"],
"include": ["**/*.tsx", "**/*.ts", ".next/types/**/*.ts", "next-env.d.ts"]
}