Skip to content

Commit 9daedd2

Browse files
committed
tsconfig: Explicitly list all type checking options
As part of #3649 research I added all options explicitly and also enable ones that didn't require any code change. We should enable rest of them in a separate PRs.
1 parent 6f21890 commit 9daedd2

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

tsconfig.json

+13-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,21 @@
1010
"target": "es2020",
1111
"module": "commonjs",
1212
"moduleResolution": "node",
13-
"strict": true,
14-
"useUnknownInCatchVariables": false,
1513
"noEmit": true,
1614
"isolatedModules": true,
1715
"importsNotUsedAsValues": "error",
18-
"forceConsistentCasingInFileNames": true
16+
"forceConsistentCasingInFileNames": true,
17+
"strict": true,
18+
"useUnknownInCatchVariables": false,
19+
"allowUnreachableCode": false,
20+
"allowUnusedLabels": false,
21+
"exactOptionalPropertyTypes": false,
22+
"noFallthroughCasesInSwitch": false,
23+
"noImplicitOverride": false,
24+
"noImplicitReturns": false,
25+
"noPropertyAccessFromIndexSignature": false,
26+
"noUncheckedIndexedAccess": false,
27+
"noUnusedLocals": true,
28+
"noUnusedParameters": true
1929
}
2030
}

0 commit comments

Comments
 (0)