Skip to content

Commit

Permalink
tsconfig: Explicitly list all type checking options
Browse files Browse the repository at this point in the history
As part of graphql#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.
  • Loading branch information
IvanGoncharov committed Jul 7, 2022
1 parent 6f21890 commit 2d0a28a
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,21 @@
"target": "es2020",
"module": "commonjs",
"moduleResolution": "node",
"strict": true,
"useUnknownInCatchVariables": false,
"noEmit": true,
"isolatedModules": true,
"importsNotUsedAsValues": "error",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"strict": true,
"useUnknownInCatchVariables": false,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": false,
"noFallthroughCasesInSwitch": false,
"noImplicitOverride": false,
"noImplicitReturns": false,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": false,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}

0 comments on commit 2d0a28a

Please sign in to comment.