aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-16 20:58:28 +0800
committerFabio Berger <me@fabioberger.com>2018-05-16 20:58:28 +0800
commitfec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79 (patch)
tree6c777dfad504b67b7fd72b660cb310f990475afe
parent45fa26dc6cf48d8b8baf123429f0b64ad0a431c9 (diff)
downloaddexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.tar
dexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.tar.gz
dexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.tar.bz2
dexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.tar.lz
dexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.tar.xz
dexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.tar.zst
dexon-0x-contracts-fec6ac3ff0c4781cea0b3f42e287aee2b8aa2a79.zip
Enforce new rules, including no-switch-case-fall-through
-rw-r--r--packages/tslint-config/tslint.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/tslint-config/tslint.json b/packages/tslint-config/tslint.json
index 1d717430d..77a1f41cc 100644
--- a/packages/tslint-config/tslint.json
+++ b/packages/tslint-config/tslint.json
@@ -5,7 +5,10 @@
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"async-suffix": true,
+ "boolean-naming": true,
+ "no-switch-case-fall-through": true,
"await-promise": true,
+ "custom-no-magic-numbers": [true, 0, 1, 2, 3, -1],
"binary-expression-operand-order": true,
"callable-types": true,
"class-name": true,