This repository was archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
44 lines (44 loc) · 1.73 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
{
"include": ["next-env.d.ts", "typings/**/*.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "cypress"],
"compilerOptions": {
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"downlevelIteration": true,
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"noEmit": true,
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"$gqlTypes/*": ["src/lib/gqlTypes/*"],
"$gqlQueryTypes/*": ["src/lib/gqlQueryTypes/*"],
"$lib/*": ["src/lib/*"],
"$withApollo": ["src/lib/apollo/withApollo.tsx"],
"$components/*": ["src/components/*"],
"$sharedComponents": ["src/components/shared"],
"$sharedQueries": ["src/lib/sharedQueries/index.ts"],
"$sharedModules/*": ["src/components/shared/modules/*"],
"$utils": ["src/lib/utils/index.ts"],
},
/* Basic Options */
/* Don't check syntax of library decleration files */
"skipLibCheck": true,
/* Strict Type-Checking Options */
"strict": true,
"noImplicitAny": false,
"noImplicitThis": false, // Raise error on 'this' expressions with an implied 'any' type.
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": false, // some parameters may be there for documentation e.g. in map, filter
/* you can [import React from 'react'] instead of [import * as React from 'react'] */
"esModuleInterop": true,
/* this should be enabled by esModuleInterop but vscode cannot detect this properly */
"allowSyntheticDefaultImports": true,
/* try to prevent the terrible case sensitivity bug in imports on case-insensitive file systems*/
"forceConsistentCasingInFileNames": false
}
}