Skip to content

Commit 802e1b3

Browse files
committed
Add strict tsconfig options
1 parent 03868ef commit 802e1b3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tsconfig.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"compilerOptions": {
3+
"rootDir": ".",
34
"outDir": "./dist/",
45
"module": "commonjs",
56
"target": "ES2017",
67
"moduleResolution": "node",
7-
"strict": true,
8-
"rootDir": ".",
98
"jsx": "react",
10-
"sourceMap": true
9+
"sourceMap": true,
10+
"strict": true,
11+
"noFallthroughCasesInSwitch": true,
12+
"noImplicitReturns": true,
13+
"noEmitOnError": true
1114
},
1215
"exclude": [
1316
"node_modules"

0 commit comments

Comments
 (0)