From aa0715577c377557e5cf7519b16b1cbecbba014c Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 19 Sep 2026 11:02:27 -0700 Subject: [PATCH] Always fix gofmt without asking, overriding only-reformat-lines-you-touch --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index cc7b96e..08f7df0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -75,6 +75,7 @@ - Install binaries to `~/bin` (`go env -w GOBIN=$HOME/bin`), not `~/.local/bin` — no hiding tools under dotfile paths. - Use literal initialization (`map[string]bool{}`) over `make()`. - All-lowercase log messages. Prepend `[ERROR]` where applicable. +- Always fix gofmt without asking: any Go file you see that `gofmt -l` flags gets fixed, including lines you didn't write. This overrides "only reformat lines you touch". # Shell