aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLordElias <55048695+LordEliasTM@users.noreply.github.com>2023-04-07 21:17:54 +0200
committerGitHub <noreply@github.com>2023-04-07 19:17:54 +0000
commit1432baa28b60bfe995faaa327e6cf5670d11cc36 (patch)
tree65648879f0cbc18f969231a9fefc989925229e2d
parentf1f61195c3fe8f104e40e20ccd01cca17c79d993 (diff)
downloadVencord-1432baa28b60bfe995faaa327e6cf5670d11cc36.tar.gz
Vencord-1432baa28b60bfe995faaa327e6cf5670d11cc36.tar.bz2
Vencord-1432baa28b60bfe995faaa327e6cf5670d11cc36.zip
ignore userplugins when linting (#822)
Co-authored-by: V <vendicated@riseup.net>
-rw-r--r--package.json4
1 files 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",