-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
61 lines (56 loc) · 1.74 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
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"composite": true,
/* Bundler mode */
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"allowJs": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
/* Paths */
"baseUrl": ".",
"paths": {
/* Shared */
"@DTO/*": ["src/DTO/*"],
"@errors": ["src/errors"],
"@errors/*": ["src/errors/*"],
/* back */
"@server": ["src/back/server"],
"@config": ["src/back/config"],
"@loaders": ["src/back/loaders"],
"@frontLoaders": ["src/back/loaders/developmentFront"],
"@serverUtils/*": ["src/back/utils/*"],
"@api": ["src/back/api"],
"@fastifyHooks/*": ["src/back/api/hooks/*"],
"@routes/*": ["src/back/api/routes/*"],
"@services/*": ["src/back/services/*"],
"@repository/*": ["src/back/repository/*"],
/* Front */
"@pages/*": ["src/front/pages/*"],
"@components": ["src/front/components"],
"@components/*": ["src/front/components/*"],
"@context/*": ["src/front/context/*"],
"@hooks/*": ["src/front/hooks/*"],
"@utils/*": ["src/front/utils/*"],
"@utils": ["src/front/utils"],
"@apis/*": ["src/front/utils/apis/*"],
"@assets/*": ["src/front/assets/*"],
"@front/*": ["src/front/*"],
}
},
"include": ["src"],
"exclude": ["node_modules"],
"references": [{ "path": "./tsconfig.node.json" }]
}