From f066a3fe529fdc70d8713e3df33fdb5545a074b0 Mon Sep 17 00:00:00 2001 From: AleF83 Date: Sat, 16 May 2026 21:48:24 -0500 Subject: [PATCH 1/2] fix: quote and broaden Prettier format script glob Wrap the glob in double quotes and expand the extensions to cover js, ts, json, yaml, yml, and md files. Extend .prettierignore with .worktrees, wwwroot, Pages, and pnpm-lock.yaml to prevent Prettier from touching generated or vendor assets. Closes #188 Co-Authored-By: Claude Sonnet 4.6 --- .prettierignore | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index f071c14..92f014b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,7 @@ **/node_modules **/dist coverage +.worktrees +wwwroot +Pages +pnpm-lock.yaml diff --git a/package.json b/package.json index 66093fd..32a6cd6 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "tilt:down": "tilt down", "tilt:ci": "tilt ci", "lint": "eslint .", - "format": "prettier --write **/*.ts", + "format": "prettier --write \"**/*.{js,ts,json,yaml,yml,md}\"", "prepare": "husky" }, "workspaces": [ From 269de1b75902c5bfb233a2f3cafd32045eaf7850 Mon Sep 17 00:00:00 2001 From: AleF83 Date: Sat, 16 May 2026 21:52:25 -0500 Subject: [PATCH 2/2] docs: update pnpm format comment to reflect broadened glob --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 2d2c4d8..e00e8c9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -15,7 +15,7 @@ A configurable mock OIDC/OAuth2 server for development and testing, built on Due ```bash pnpm install # install all workspace dependencies pnpm lint # ESLint on all TS files -pnpm format # Prettier --write on all TS files +pnpm format # Prettier --write on all JS/TS/JSON/YAML/MD files pnpm --filter e2e exec playwright install --with-deps chromium # install Playwright browser ```