From eca4e0c900741b609c709965ac2d83a93769aa9b Mon Sep 17 00:00:00 2001 From: Christoph Dyllick-Brenzinger Date: Fri, 4 Sep 2026 15:55:41 +0200 Subject: [PATCH] Set prettier tabWidth to 4 to match the codebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .prettierrc left tabWidth unset, so Prettier assumed its default of 2 while every file in the repo is indented with 4. Anyone formatting on save was reformatting whole files against the surrounding style, and `npm run format` reported 92 files purely because the config never described the code. This only aligns the config; nothing is reformatted. 81 files still differ on other rules (printWidth 100 against 384 lines that are longer, hand-formatted object literals), so `npm run format` stays red — but for real disagreements now rather than an indentation setting nobody chose. `npm run format` is not part of CI. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Tn4FT2sVqoFz1QdpNDNAy7 --- .prettierrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierrc b/.prettierrc index 8486671..15474e8 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,5 +2,6 @@ "singleQuote": true, "semi": false, "trailingComma": "es5", + "tabWidth": 4, "printWidth": 100 }