-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
52 lines (52 loc) · 1.49 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
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["esnext"],
"allowJs": true,
"jsx": "react-native",
"noEmit": true,
"isolatedModules": false,
"strict": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// ? Custom ones
"skipLibCheck": true,
"resolveJsonModule": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
// ? Babel Plugin Module Resolver
"baseUrl": "./src",
"paths": {
"@shared-components/*": ["./shared/components/*"],
"@shared-constants": ["./shared/constants"],
"@shared-interfaces/*": ["./shared/interfaces/*"],
"@font-size": ["./shared/theme/font-size"],
"@api": ["./services/api/index"],
"@fonts": ["./shared/theme/fonts"],
"@colors": ["./shared/theme/colors"],
"@theme/*": ["./shared/theme/*"],
"@services/*": ["./services/*"],
"@screens/*": ["./screens/*"],
"@utils": ["./utils/"],
"@assets": ["./assets/"],
"@local-storage": ["./services/local-storage"]
}
},
"exclude": [
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
]
}