From 0467a4b7ef2a67392bbad2ff712c8756ac3d1b19 Mon Sep 17 00:00:00 2001 From: Julian Cuni Date: Sat, 2 May 2026 18:58:26 +0200 Subject: [PATCH] fix(ci): exclude project-local pnpm store from lint/format scans MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI runners configure pnpm with --store-dir=.pnpm-store (project-local CAS) for cross-run caching. Prettier and ESLint were scanning into it and finding 333 unformatted JSON files. Added to .prettierignore and eslint.config.js globalIgnores: - .pnpm-store / .pnpm — pnpm content-addressable store variants - coverage — future test runs (Vitest in Phase 3) - .cache — generic build cache directory Local Windows trees aren't affected (pnpm uses the global store at ~/.local/share/pnpm/store) but the rules cover both paths. --- .prettierignore | 5 +++++ eslint.config.js | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index f644029..6409ae9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,8 +1,13 @@ node_modules +.pnpm-store +.pnpm dist dist-ssr +coverage +.cache pnpm-lock.yaml *.log .git public src/routeTree.gen.ts + diff --git a/eslint.config.js b/eslint.config.js index 9907a00..ac4d6d4 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -7,7 +7,14 @@ import prettierRecommended from 'eslint-plugin-prettier/recommended'; import { defineConfig, globalIgnores } from 'eslint/config'; export default defineConfig([ - globalIgnores(['dist', 'src/routeTree.gen.ts']), + globalIgnores([ + 'dist', + 'src/routeTree.gen.ts', + // CI runners may use a project-local pnpm CAS at .pnpm-store. + '.pnpm-store', + '.pnpm', + 'coverage', + ]), { files: ['**/*.{ts,tsx}'], extends: [