-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (24 loc) · 883 Bytes
/
tsconfig.json
File metadata and controls
24 lines (24 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Typescript cheat-sheet: https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/blob/master/README.md#troubleshooting-handbook-tsconfigjson
// Typescript documentation: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
// TSDX tsconfig template: https://github.com/formium/tsdx/blob/master/templates/react/tsconfig.json
{
"compilerOptions": {
"module": "esnext",
"moduleResolution": "Node",
"target": "es5",
"importHelpers": true,
"lib": ["dom", "esnext"],
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"strict": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"jsx": "react",
// the following are enforced by ESLint
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": false
}
}