Skip to content

Commit 9412987

Browse files
committed
Stricter tsconfig
1 parent 9e57fa4 commit 9412987

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

tsconfig.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
{
22
"compilerOptions": {
3+
"allowSyntheticDefaultImports": true,
4+
"forceConsistentCasingInFileNames": true,
35
"module": "es6",
46
"moduleResolution": "node",
5-
"verbatimModuleSyntax": true,
6-
"allowSyntheticDefaultImports": true,
77
"resolveJsonModule": true,
8-
"forceConsistentCasingInFileNames": true,
8+
"verbatimModuleSyntax": true,
9+
10+
"skipLibCheck": true,
11+
12+
"allowUnreachableCode": false,
13+
"allowUnusedLabels": false,
14+
"exactOptionalPropertyTypes": true,
915
"noFallthroughCasesInSwitch": true,
16+
"noImplicitOverride": true,
1017
"noImplicitReturns": true,
18+
"noPropertyAccessFromIndexSignature": true,
1119
"noUnusedLocals": true,
1220
"noUnusedParameters": true,
13-
"skipLibCheck": true,
1421
"strict": true
1522
}
1623
}

0 commit comments

Comments
 (0)