diff --git a/eslint.config.js b/eslint.config.js index cfb4e59..86b981e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -6,6 +6,7 @@ import stylistic from "@stylistic/eslint-plugin"; export default defineConfig([ { files: ["**/*.{js,mjs,cjs}"], + ignores: ["node_modules/**", "out/**"], plugins: { js, "@stylistic": stylistic }, extends: ["js/recommended"], languageOptions: { globals: { ...globals.browser, ...globals.node } }, diff --git a/package.json b/package.json index 8dfafe4..011975a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "make:msi": "cross-env BUILD_TARGET=msi electron-forge make", "make:zip": "cross-env BUILD_TARGET=zip electron-forge make", "make:deb": "cross-env BUILD_TARGET=deb electron-forge make", - "make:appimage": "cross-env BUILD_TARGET=appimage electron-forge make" + "make:appimage": "cross-env BUILD_TARGET=appimage electron-forge make", + "lint": "npx eslint" }, "author": "GabiZar", "license": "GPL-3.0",