Add files to ignore to eslint config

This commit is contained in:
2026-04-17 22:08:00 +02:00
parent 378108bd34
commit 7fe89ff2ab
2 changed files with 3 additions and 1 deletions

View File

@@ -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 } },

View File

@@ -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",