aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-12-15 05:34:54 +0800
committerGitHub <noreply@github.com>2017-12-15 05:34:54 +0800
commitde8c445f961e1a09bed6a01397e36b96e0ea3d9a (patch)
tree14a3a89988f2eb283f0c80ca9d70e3a20296b98f /packages/subproviders
parenta0aa21103b51ad287de1579832a4a490ca90175a (diff)
parentc23d42fea5ca817a5cfb4f7b03ae723cb607f887 (diff)
downloaddexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.tar
dexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.tar.gz
dexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.tar.bz2
dexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.tar.lz
dexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.tar.xz
dexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.tar.zst
dexon-sol-tools-de8c445f961e1a09bed6a01397e36b96e0ea3d9a.zip
Merge pull request #265 from 0xProject/feature/custom-linter-rule
Implement first custom linter rule async-suffix
Diffstat (limited to 'packages/subproviders')
-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();