-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
45 lines (45 loc) · 1.2 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
{
"compilerOptions": {
"baseUrl": "src",
"outDir": "./build",
"target": "es5",
"module": "esnext",
"types": ["node"],
"lib": ["dom", "dom.iterable", "esnext"],
"jsx": "react",
"moduleResolution": "node",
"allowJs": false,
"preserveConstEnums": true,
"removeComments": true,
"sourceMap": true,
"skipLibCheck": true,
"strictNullChecks": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": false,
"resolveJsonModule": true,
"isolatedModules": false,
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
"paths": {
"@root/*": ["./*"],
"@api/*": ["./api/*"],
"@assets/*": ["./assets/*"],
"@components/*": ["./components/*"],
"@helpers/*": ["./helpers/*"],
"@interfaces/*": ["./interfaces/*"],
"@screens/*": ["./screens/*"],
"@styles/*": ["./styles/*"]
},
"plugins": [
{
"name": "typescript-plugin-css-modules",
"options": {
"customMatcher": "\\.m\\.(c|sa|sc)ss$"
}
}
]
},
"include": ["src/**/*", "custom.d.ts", ".eslintrc.js"],
"exclude": ["node_modules", "build"]
}