aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-15 04:49:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-15 04:49:19 +0800
commitc23d42fea5ca817a5cfb4f7b03ae723cb607f887 (patch)
tree14a3a89988f2eb283f0c80ca9d70e3a20296b98f /packages/subproviders/src
parenta0aa21103b51ad287de1579832a4a490ca90175a (diff)
downloaddexon-0x-contracts-c23d42fea5ca817a5cfb4f7b03ae723cb607f887.tar.gz
dexon-0x-contracts-c23d42fea5ca817a5cfb4f7b03ae723cb607f887.tar.zst
dexon-0x-contracts-c23d42fea5ca817a5cfb4f7b03ae723cb607f887.zip
Implement first custom linter rule async-suffix
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r--packages/subproviders/src/globals.d.ts1
-rw-r--r--packages/subproviders/src/subproviders/redundant_rpc.ts1
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();