-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (40 loc) · 1.06 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"checkJs": true,
"esModuleInterop": true,
"jsx": "react",
"lib": ["dom", "es2017"],
"module": "commonjs",
"noEmit": true,
"plugins": [
{ "transform": "ts-optchain/transform" },
{ "name": "typescript-styled-plugin" }
],
"noImplicitAny": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"paths": {
"components/*": ["src/components/*"],
"elements/*": ["src/elements/*"],
"images/*": ["src/images/*"],
"hooks/*": ["src/hooks/*"],
"pages/*": ["src/pages/*"],
"styles/*": ["src/styles/*"],
"templates/*": ["src/templates/*"],
"theme/*": ["src/theme/*"],
"util/*": ["src/util/*"]
},
"preserveConstEnums": true,
"removeComments": false,
"strict": true,
"skipLibCheck": true,
"sourceMap": true,
"target": "esnext",
"types": ["node"],
"typeRoots": ["./src/@types", "./node_modules/@types"]
},
"include": ["./src/**/*"]
}