Skip to content

Commit 6b88a9a

Browse files
committed
update lint
1 parent 3e3e2f5 commit 6b88a9a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default class Client extends EventEmitter {
3939
this.streams = {};
4040
this.dispatch = new Peer(transport);
4141

42-
config.rtc && WebRTCTransport.setRTCConfiguration(config.rtc);
42+
if (config.rtc) WebRTCTransport.setRTCConfiguration(config.rtc);
4343
Stream.setDispatch(this.dispatch);
4444

4545
this.dispatch.on('open', () => {

tslint.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": ["tslint:recommended", "tslint-config-prettier"]
2+
"extends": ["tslint:recommended", "tslint-config-prettier"],
3+
"rules": {
4+
"max-classes-per-file": false
5+
}
36
}

0 commit comments

Comments
 (0)