From: Tiago Melo Date: Thu, 19 Dec 2019 11:31:47 +0000 (-0100) Subject: mgr/dashboard: Enable noFallthroughCasesInSwitch TS compiler option X-Git-Tag: v15.1.1~573^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91a28cdd76345b5e3ae8895fb9aa107591c644e2;p=ceph.git mgr/dashboard: Enable noFallthroughCasesInSwitch TS compiler option Fixes: https://tracker.ceph.com/issues/43525 Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/frontend/tsconfig.json b/src/pybind/mgr/dashboard/frontend/tsconfig.json index 1766bd15ae2a..cba66a1cc38f 100644 --- a/src/pybind/mgr/dashboard/frontend/tsconfig.json +++ b/src/pybind/mgr/dashboard/frontend/tsconfig.json @@ -12,6 +12,7 @@ "experimentalDecorators": true, "noUnusedLocals": true, "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, "target": "es2015", "typeRoots": [ "node_modules/@types"