Remove some eslint overrides (#5676)

* Remove some eslint overrides

* Use noop
This commit is contained in:
Jaco
2023-06-17 13:27:51 +03:00
committed by GitHub
parent 9913701e82
commit e89212b435
10 changed files with 21 additions and 39 deletions
-1
View File
@@ -108,7 +108,6 @@ export class RpcCore {
* @param {ProviderInterface} provider An API provider using any of the supported providers (HTTP, SC or WebSocket)
*/
constructor (instanceId: string, registry: Registry, { isPedantic = true, provider, userRpc = {} }: Options) {
// eslint-disable-next-line @typescript-eslint/unbound-method
if (!provider || !isFunction(provider.send)) {
throw new Error('Expected Provider to API create');
}