diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-19 06:28:24 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-19 06:33:14 +0800 |
commit | a42347a776e2fa14fa898a354190f8b75bbe2fb2 (patch) | |
tree | d3a8f04020ea8b74ad62545dd7b9183d677db713 | |
parent | 8ff5e1926993979229783cfb03d38aabd6f2f3d3 (diff) | |
download | dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar.gz dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar.bz2 dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar.lz dexon-0x-contracts-a42347a776e2fa14fa898a354190f8b75bbe2fb2.tar.xz 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.json | 3 |
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 } } |