pull/1723/head
Audric Ackermann 4 years ago
parent 13bc1a21d9
commit 4a491e6a6a
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -245,7 +245,7 @@ const doAppStartUp = () => {
debounce(triggerAvatarReUploadIfNeeded, 200);
// TODO: Investigate the case where we reconnect
getSwarmPollingInstance().start();
void getSwarmPollingInstance().start();
};
/**

@ -1,7 +1,7 @@
import Electron from 'electron';
const { ipcRenderer } = Electron;
// tslint:disable: function-name no-require-imports no-var-requires one-variable-per-declaration no-void-expression
// tslint:disable: no-require-imports no-var-requires one-variable-per-declaration no-void-expression
import _ from 'lodash';
import { ConversationCollection, ConversationModel } from '../models/conversation';

@ -69,7 +69,6 @@ export class MessageController {
});
}
// tslint:disable-next-line: function-name
public get(identifier: string) {
return this.messageLookup.get(identifier);
}

@ -90,7 +90,6 @@ export async function addJob(attachment: any, job: any = {}) {
};
}
// tslint:disable: function-name
async function _tick() {
await _maybeStartJob();
timeout = setTimeout(_tick, TICK_INTERVAL);

@ -1,4 +1,4 @@
import { getItemById, createOrUpdateItem } from '../data/data';
import { createOrUpdateItem, getItemById } from '../data/data';
import { PubKey } from '../session/types';
import { UserUtils } from '../session/utils';

@ -65,10 +65,10 @@
"function-name": [
true,
{
"function-regex": "^[a-z][\\w\\d]+$",
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"function-regex": "^(TEST_)?(_)?[a-z][\\w\\d]+$",
"method-regex": "^(TEST_)?(_)?[a-z][\\w\\d]+$",
"private-method-regex": "^(TEST_)?(_)?[a-z][\\w\\d]+$",
"protected-method-regex": "^(TEST_)?(_)?[a-z][\\w\\d]+$",
"static-method-regex": "^[a-zA-Z][\\w\\d]+$"
}
],

Loading…
Cancel
Save