-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.base.json
41 lines (37 loc) · 1.22 KB
/
tsconfig.base.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
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"verbatimModuleSyntax": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
// Here you should add paths to all packages
"paths": {
"@bulkit/api/*": ["./apps/api/src/*"],
"@bulkit/shared/*": ["./packages/shared/src/*"],
"@bulkit/translations/*": ["./packages/translations/src/*"],
"@bulkit/mail/*": ["./packages/mail/src/*"],
"@bulkit/jobs/*": ["./packages/jobs/src/*"],
"@bulkit/redis/*": ["./packages/redis/src/*"],
"@bulkit/app/*": ["./apps/app/src/*"],
"@bulkit/seed/*": ["./packages/seed/src/*"],
"@bulkit/ui/*": ["./packages/ui/src/*"],
"@bulkit/transactional/*": ["./packages/transactional/src/*"]
}
}
}