From 677aabfa30b1366552037be75bc2f4113103b0b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 16 Aug 2026 14:19:44 +0200 Subject: [PATCH] Exclude .pnpm-store from prettier and git On the Gitea runner, pnpm's content-addressable store ends up inside the workspace (.pnpm-store/) instead of the global cache location - format:check was scanning its content-addressable blobs as if they were source files, some of which happen to parse as JS/TS-like text and crash prettier's parser outright rather than just wasting time. Co-Authored-By: Claude Sonnet 5 --- .gitignore | 1 + .prettierignore | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index d3b7ae1..d89d133 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # dependencies /node_modules +/.pnpm-store /.pnp .pnp.* .yarn/* diff --git a/.prettierignore b/.prettierignore index 84c830d..c3229f7 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,7 @@ # Machine-generated - pnpm owns this file's formatting, not prettier. pnpm-lock.yaml + +# pnpm's local content-addressable store - on some runners this ends up inside the workspace +# instead of the global cache location; its blobs aren't source files (some happen to parse as +# JS/TS-like content, which crashes prettier's parser rather than just wasting time on them). +.pnpm-store/