Skip to content

Commit

Permalink
Fix various linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Maniewski committed Aug 15, 2019
1 parent 059c487 commit 55987fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/IPFSNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class IPFSNode {

private roomMonitor!: PeerMonitor;

public id: string = '';
public id = '';

constructor(
events: EventEmitter,
Expand Down
4 changes: 3 additions & 1 deletion src/PermissiveAccessController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ class PermissiveAccessController implements AccessControllers.AccessController {
return PermissiveAccessController.type;
}

public async load(): Promise<void> {}
public async load(): Promise<void> {
return;
}

public async grant(): Promise<boolean> {
return true;
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { EntryData } from 'ipfs-log';
import PeerMonitor = require('ipfs-pubsub-peer-monitor');
import OrbitDB = require('orbit-db');
import OrbitDBKVStore from 'orbit-db-kvstore';
// @ts-ignore We don't want to type that right now
import { create as createIPFS } from 'ipfsd-ctl';

import Pinion, { ClientAction } from '../Pinion';
Expand Down

0 comments on commit 55987fc

Please sign in to comment.