Showing 3 of 5 total issues
File index.js
has 561 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
(() => {
const isMac = process.platform === 'darwin';
const defaultFetchIntervalSec = 600;
Function initMenu
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initMenu() {
const appMenu = Menu.buildFromTemplate([
{
label: 'Edit',
submenu: [
Function initEventListener
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initEventListener() {
document.getElementById('save-button').addEventListener('click', () => {
const notifier = this._notifiers[this._currentNotifierIndex];
notifier.readScreenSettings();