From 1432baa28b60bfe995faaa327e6cf5670d11cc36 Mon Sep 17 00:00:00 2001 From: LordElias <55048695+LordEliasTM@users.noreply.github.com> Date: Fri, 7 Apr 2023 21:17:54 +0200 Subject: [PATCH] ignore userplugins when linting (#822) Co-authored-by: V --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e6403c6..c044563 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "buildWeb": "node --require=./scripts/suppressExperimentalWarnings.js scripts/build/buildWeb.mjs", "generatePluginJson": "tsx scripts/generatePluginList.ts", "inject": "node scripts/runInstaller.mjs", - "lint": "eslint . --ext .js,.jsx,.ts,.tsx", - "lint-styles": "stylelint \"src/**/*.css\"", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern src/userplugins", + "lint-styles": "stylelint \"src/**/*.css\" --ignore-pattern src/userplugins", "lint:fix": "pnpm lint --fix", "test": "pnpm build && pnpm lint && pnpm lint-styles && pnpm testTsc", "testWeb": "pnpm lint && pnpm buildWeb && pnpm testTsc",