aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-05 18:19:28 +0800
committerFabio Berger <me@fabioberger.com>2018-06-05 18:19:28 +0800
commitcc6338d0482abd2db253b8755109d4aec801e88d (patch)
treec4d9f36b8f99086d0b86ee71d14b87404d38b360 /packages/tslint-config
parent57b65726d65378deed6506de1287d9b8e2d2c6ec (diff)
downloaddexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.tar
dexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.tar.gz
dexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.tar.bz2
dexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.tar.lz
dexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.tar.xz
dexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.tar.zst
dexon-sol-tools-cc6338d0482abd2db253b8755109d4aec801e88d.zip
Add `switch-default` tslint rule and add missing default statement
Diffstat (limited to 'packages/tslint-config')
-rw-r--r--packages/tslint-config/tslint.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/tslint-config/tslint.json b/packages/tslint-config/tslint.json
index 77a1f41cc..ec414fb71 100644
--- a/packages/tslint-config/tslint.json
+++ b/packages/tslint-config/tslint.json
@@ -7,6 +7,7 @@
"async-suffix": true,
"boolean-naming": true,
"no-switch-case-fall-through": true,
+ "switch-default": true,
"await-promise": true,
"custom-no-magic-numbers": [true, 0, 1, 2, 3, -1],
"binary-expression-operand-order": true,