diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 04:49:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 04:49:19 +0800 |
commit | c23d42fea5ca817a5cfb4f7b03ae723cb607f887 (patch) | |
tree | 14a3a89988f2eb283f0c80ca9d70e3a20296b98f /packages/subproviders | |
parent | a0aa21103b51ad287de1579832a4a490ca90175a (diff) | |
download | dexon-sol-tools-c23d42fea5ca817a5cfb4f7b03ae723cb607f887.tar.gz dexon-sol-tools-c23d42fea5ca817a5cfb4f7b03ae723cb607f887.tar.zst dexon-sol-tools-c23d42fea5ca817a5cfb4f7b03ae723cb607f887.zip |
Implement first custom linter rule async-suffix
Diffstat (limited to 'packages/subproviders')
-rw-r--r-- | packages/subproviders/src/globals.d.ts | 1 | ||||
-rw-r--r-- | packages/subproviders/src/subproviders/redundant_rpc.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index 400bbef5b..adef23806 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -5,6 +5,7 @@ declare module 'es6-promisify'; // tslint:disable:max-classes-per-file // tslint:disable:class-name +// tslint:disable:async-suffix // tslint:disable:completed-docs // Ethereumjs-tx declarations diff --git a/packages/subproviders/src/subproviders/redundant_rpc.ts b/packages/subproviders/src/subproviders/redundant_rpc.ts index 80462bbfb..f688061ea 100644 --- a/packages/subproviders/src/subproviders/redundant_rpc.ts +++ b/packages/subproviders/src/subproviders/redundant_rpc.ts @@ -33,6 +33,7 @@ export class RedundantRPCSubprovider extends Subprovider { }); }); } + // tslint:disable-next-line:async-suffix public async handleRequest(payload: JSONRPCPayload, next: () => void, end: (err: Error|null, data?: any) => void): Promise<void> { const rpcsCopy = this.rpcs.slice(); |