-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
37 lines (37 loc) · 1.14 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
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"skipLibCheck": true,
"allowJs": false,
"jsx": "preserve",
"removeComments": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*", "*"],
},
"noEmit": true,
"importHelpers": true,
"isolatedModules": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
},
/** either exclude cypress _or_ only include src/ files to ensure that Cypress'
* and jest's `expect` types don't interfere with each other.
*
* inspired by:
* @see https://github.com/cypress-io/cypress-and-jest-typescript-example/blob/734a38e2451f6cf0341190959a24a4ca40b8ecb7/tsconfig.json
*/
"include": ["next-env.d.ts", "src/**/*.ts", "src/**/*.tsx", "src/**/*.d.ts"],
"exclude": ["build", "node_modules", "storybook-static", "tmp"]
}