From 933d44c11c9cbe57c0a0a5ac355ba83f137c1f00 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 12 Jun 2019 15:10:26 -0700 Subject: [PATCH] chore: enable noFallthroughCasesInSwitch in the project's tsconfigs (#16282) --- src/bazel-tsconfig-build.json | 1 + tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/bazel-tsconfig-build.json b/src/bazel-tsconfig-build.json index 5d7b8b7b6c0..48972a554e0 100644 --- a/src/bazel-tsconfig-build.json +++ b/src/bazel-tsconfig-build.json @@ -13,6 +13,7 @@ "noUnusedLocals": true, "strictNullChecks": true, "strictFunctionTypes": true, + "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitThis": true, "importHelpers": true, diff --git a/tsconfig.json b/tsconfig.json index 1f0b79175a4..7923e7ec281 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "module": "es2015", "moduleResolution": "node", "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, "noUnusedLocals": true, "strictNullChecks": true, "strictFunctionTypes": true,