-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
33 lines (30 loc) · 1016 Bytes
/
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
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"allowJs": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
// Ensure that .d.ts files are created by tsc, but not .js files
"declaration": true,
"emitDeclarationOnly": true,
/* Bundler mode */
"moduleResolution": "node",
"allowImportingTsExtensions": true,
/* Advanced Options */
"resolveJsonModule": true /* Include modules imported with '.json' extension */,
// Ensure that Babel can safely transpile files in the TypeScript project
"isolatedModules": true,
//"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src", "__test__/ctx.test.js", "__test__/stringToReact.test.js", "__test__/mock-module.js"],
"exclude": ["node_modules"]
}