-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
59 lines (57 loc) · 1.45 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
{
"compilerOptions": {
"module": "commonjs",
"target": "esnext",
"jsx": "preserve",
"lib": ["dom", "esnext", "es2020"],
"strict": true,
"noEmit": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": false,
"preserveConstEnums": true
},
"rules": {
"quotemark": [true, "single"]
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "public", ".cache"]
}
/* https://dev.to/speshov/how-to-setup-gatsbyjs-starter-with-typescript-eslint-prettier-4jh3
{
"compilerOptions": {
"module": "commonjs",
"target": "esnext",
"jsx": "preserve",
"lib": ["dom", "esnext"],
"strict": true,
"noEmit": true,
"isolatedModules": true,
"esModuleInterop": true,
"noUnusedLocals": false
},
"exclude": ["node_modules", "public", ".cache"]
}
*/
// https://github.com/resir014/gatsby-starter-typescript-plus/blob/master/tsconfig.json
// {
// "compilerOptions": {
// "module": "commonjs",
// "target": "esnext",
// "jsx": "preserve",
// "lib": ["dom", "es2015", "es2017"],
// "strict": true,
// "noEmit": true,
// "isolatedModules": true,
// "esModuleInterop": true,
// "skipLibCheck": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// "removeComments": false,
// "preserveConstEnums": true
// },
// "include": [./src/**/*"]
// }