Skip to content

Commit

Permalink
ESLint/Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
GyozaGuy committed Jul 7, 2020
1 parent 0e07d18 commit 529a8a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
16 changes: 3 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,10 @@
"no-console": [
"warn",
{
"allow": [
"error",
"info",
"warn"
]
"allow": ["error", "info", "warn"]
}
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {app, BrowserWindow, Menu, shell, Tray} = require('electron');
const { app, BrowserWindow, Menu, shell, Tray } = require('electron');
const windowStateKeeper = require('electron-window-state');
require('electron-reload')(__dirname);

Expand All @@ -7,8 +7,8 @@ let win;

function createTray() {
const contextMenu = Menu.buildFromTemplate([
{label: 'Reload', click: () => win.reload()},
{label: 'Quit', click: () => app.quit()}
{ label: 'Reload', click: () => win.reload() },
{ label: 'Quit', click: () => app.quit() }
]);
const tray = new Tray(__dirname + '/img/appicon-tray.png');

Expand Down Expand Up @@ -39,7 +39,7 @@ function createWindow(cb) {
defaultHeight: 700,
defaultWidth: 1000
});
const {height, width} = mainWindowState;
const { height, width } = mainWindowState;

win = new BrowserWindow({
height,
Expand Down

0 comments on commit 529a8a1

Please sign in to comment.