diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-29 21:59:42 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-29 21:59:42 +0800 |
commit | a331943c11b8602f4c8781243dc1fac5d9c595bf (patch) | |
tree | 83a6e143f6db7a6f7c99e589161b27a034548168 | |
parent | 80ce5678345a20a6b6d30e134965f53ada735044 (diff) | |
download | dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.tar dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.tar.gz dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.tar.bz2 dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.tar.lz dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.tar.xz dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.tar.zst dexon-sol-tools-a331943c11b8602f4c8781243dc1fac5d9c595bf.zip |
Use disable-next-line instead of disable and always put rule that is being disabled
-rw-r--r-- | src/utils/utils.ts | 3 | ||||
-rw-r--r-- | test/0x.js_test.ts | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 2098a67b3..336eaf7bb 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -12,9 +12,8 @@ export const utils = { return new BN(value.toString(), 10); }, consoleLog(message: string): void { - /* tslint:disable */ + // tslint:disable-next-line: no-console console.log(message); - /* tslint:enable */ }, isParityNode(nodeVersion: string): boolean { return _.includes(nodeVersion, 'Parity'); diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index d0e4e0f30..6de054437 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -182,9 +182,8 @@ describe('ZeroEx library', () => { it ('should return the correct ECSignature on Party > V1.6.6', async () => { const newParityNodeVersion = 'Parity//v1.6.7-beta-e128418-20170518/x86_64-macos/rustc1.17.0'; const orderHash = '0x34decbedc118904df65f379a175bb39ca18209d6ce41d5ed549d54e6e0a95004'; - /* tslint:disable */ + // tslint:disable-next-line: max-line-length const signature = '0x22109d11d79cb8bf96ed88625e1cd9558800c4073332a9a02857499883ee5ce3050aa3cc1f2c435e67e114cdce54b9527b4f50548342401bc5d2b77adbdacb021b'; - /* tslint:enable */ const expectedECSignature = { v: 27, r: '0x22109d11d79cb8bf96ed88625e1cd9558800c4073332a9a02857499883ee5ce3', @@ -207,9 +206,8 @@ describe('ZeroEx library', () => { it ('should return the correct ECSignature on Party < V1.6.6', async () => { const newParityNodeVersion = 'Parity//v1.6.6-beta-8c6e3f3-20170411/x86_64-macos/rustc1.16.0'; const orderHash = '0xc793e33ffded933b76f2f48d9aa3339fc090399d5e7f5dec8d3660f5480793f7'; - /* tslint:disable */ + // tslint:disable-next-line: max-line-length const signature = '0x1bc80bedc6756722672753413efdd749b5adbd4fd552595f59c13427407ee9aee02dea66f25a608bbae457e020fb6decb763deb8b7192abab624997242da248960'; - /* tslint:enable */ const expectedECSignature = { v: 27, r: '0xc80bedc6756722672753413efdd749b5adbd4fd552595f59c13427407ee9aee0', |