]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Enable noFallthroughCasesInSwitch TS compiler option
authorTiago Melo <tmelo@suse.com>
Thu, 19 Dec 2019 11:31:47 +0000 (10:31 -0100)
committerTiago Melo <tmelo@suse.com>
Fri, 31 Jan 2020 14:16:09 +0000 (13:16 -0100)
Fixes: https://tracker.ceph.com/issues/43525
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/tsconfig.json

index 1766bd15ae2a266b6f568fc905a847648896b9c4..cba66a1cc38ffe0280ff2b805628869da696fdff 100644 (file)
@@ -12,6 +12,7 @@
     "experimentalDecorators": true,
     "noUnusedLocals": true,
     "noUnusedParameters": true,
+    "noFallthroughCasesInSwitch": true,
     "target": "es2015",
     "typeRoots": [
       "node_modules/@types"