From cad0e554b55a1103a2dc79ec7988e94d1ff4bcd3 Mon Sep 17 00:00:00 2001 From: Claude Fable 5 Date: Sun, 5 Jul 2026 00:25:34 +0200 Subject: [PATCH] Exclude the CI pnpm store from lint and git The pnpm cache used by the CI workflow lives in .pnpm-store/ inside the workspace; Prettier and ESLint must not descend into it. Part of #8 Co-Authored-By: Claude Fable 5 --- .gitignore | 1 + .prettierignore | 1 + eslint.config.mjs | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2af4d88..1195d5e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ coverage/ .env.* !.env.example .DS_Store +.pnpm-store/ diff --git a/.prettierignore b/.prettierignore index 16e85bb..b06a07d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,3 +2,4 @@ dist/ node_modules/ coverage/ pnpm-lock.yaml +.pnpm-store/ diff --git a/eslint.config.mjs b/eslint.config.mjs index 7f3e7b1..6dd6fa3 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -7,7 +7,13 @@ import prettier from 'eslint-config-prettier'; export default tseslint.config( { - ignores: ['**/dist/**', '**/node_modules/**', '**/coverage/**', '**/*.gen.ts'], + ignores: [ + '**/dist/**', + '**/node_modules/**', + '**/coverage/**', + '**/.pnpm-store/**', + '**/*.gen.ts', + ], }, js.configs.recommended, ...tseslint.configs.recommended,