Remove unnecessary eslint-disable directives

This commit is contained in:
Labhansh Agrawal 2020-03-02 23:29:56 +05:30 committed by Benjamin Staneck
parent 833b222e2a
commit 039b90aa65
26 changed files with 1 additions and 84 deletions

View file

@ -10,11 +10,9 @@ export default function fetchNotifications(win: BrowserWindow) {
const retry = (err?: any) => {
setTimeout(() => fetchNotifications(win), ms('30m'));
if (err) {
//eslint-disable-next-line no-console
console.error('Notification messages fetch error', err.stack);
}
};
//eslint-disable-next-line no-console
console.log('Checking for notification messages');
fetch(NEWS_URL, {
headers: {
@ -29,7 +27,6 @@ export default function fetchNotifications(win: BrowserWindow) {
throw new Error('Bad response');
}
if (message === '') {
//eslint-disable-next-line no-console
console.log('No matching notification messages');
} else {
rpc.emit('add notification', message);