-
Notifications
You must be signed in to change notification settings - Fork 13
/
tsconfig.json
34 lines (34 loc) · 1.09 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
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"downlevelIteration": true,
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react",
"forceConsistentCasingInFileNames": true,
"lib": ["dom", "dom.iterable", "esnext"],
"module": "commonjs",
"moduleResolution": "node",
"noEmit": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"rootDir": "./packages",
/**
* I have to disable lib check as `react-use` codebase is incompatible with the latest Typescript.
* And the library author doesn't seem to be spending time on accepting PRs.
* @see https://github.com/streamich/react-use/issues/2092
*/
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es6",
"types": ["node", "mocha"]
},
"files": [
"./.mocha/globals.d.ts"
]
}