aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-19 06:28:24 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-19 06:33:14 +0800
commita42347a776e2fa14fa898a354190f8b75bbe2fb2 (patch)
treed3a8f04020ea8b74ad62545dd7b9183d677db713
parent8ff5e1926993979229783cfb03d38aabd6f2f3d3 (diff)
downloaddexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar.gz
dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar.zst
dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.zip
Allow more than 1 class per file
Felt silly that refactoring a component defined as a function to a class with a helper function caused a tslint violation
-rw-r--r--packages/instant/tslint.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/tslint.json b/packages/instant/tslint.json
index abe874a6d..08b76be97 100644
--- a/packages/instant/tslint.json
+++ b/packages/instant/tslint.json
@@ -2,6 +2,7 @@
"extends": ["@0x/tslint-config"],
"rules": {
"custom-no-magic-numbers": false,
- "semicolon": [true, "always", "ignore-bound-class-methods"]
+ "semicolon": [true, "always", "ignore-bound-class-methods"],
+ "max-classes-per-file": false
}
}