Lint current problems & fix ignore paths

This commit is contained in:
Martin Fournier
2021-12-19 13:04:34 -05:00
parent 92e8b42d18
commit 3b99da8474
9 changed files with 31 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
const { app, BrowserWindow, Menu, shell } = require("electron");
/* eslint-disable @typescript-eslint/no-var-requires */
const { app, BrowserWindow, Menu, shell } = require("electron");
const greenworks = require("./greenworks");
if (greenworks.init()) {
@@ -127,6 +128,7 @@ function setStopProcessHandler(app, window, enabled) {
const stopProcessHandler = () => {
if (process.platform !== "darwin") {
app.quit();
// eslint-disable-next-line no-process-exit
process.exit(0);
}
};