diff options
author | LordElias <55048695+LordEliasTM@users.noreply.github.com> | 2023-04-07 21:17:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 19:17:54 +0000 |
commit | 1432baa28b60bfe995faaa327e6cf5670d11cc36 (patch) | |
tree | 65648879f0cbc18f969231a9fefc989925229e2d /package.json | |
parent | f1f61195c3fe8f104e40e20ccd01cca17c79d993 (diff) | |
download | Vencord-1432baa28b60bfe995faaa327e6cf5670d11cc36.tar.gz Vencord-1432baa28b60bfe995faaa327e6cf5670d11cc36.tar.bz2 Vencord-1432baa28b60bfe995faaa327e6cf5670d11cc36.zip |
ignore userplugins when linting (#822)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
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", |