Skip to content

Commit a9f714c

Browse files
authored
Merge pull request #13 from abraham/moar-strict
Enforce more TypeScript options
2 parents c3ea533 + 4d89ded commit a9f714c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tsconfig.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
2929

3030
/* Additional Checks */
31-
// "noUnusedLocals": true, /* Report errors on unused locals. */
32-
// "noUnusedParameters": true, /* Report errors on unused parameters. */
33-
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
34-
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
31+
"noUnusedLocals": true, /* Report errors on unused locals. */
32+
"noUnusedParameters": true, /* Report errors on unused parameters. */
33+
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
34+
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
35+
"forceConsistentCasingInFileNames": true,
3536

3637
/* Module Resolution Options */
3738
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */

0 commit comments

Comments
 (0)