Skip to content

Commit 17efc2a

Browse files
ostermanclaude
andcommitted
chore(claude): deny gofmt in Claude Code permissions
Repo mandates gofumpt, not gofmt (CLAUDE.md, .golangci.yml). Denying the raw command prevents Claude Code from running gofmt directly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 056b183 commit 17efc2a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.claude/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"Bash(git reset --hard:*)",
4040
"Bash(git clean:*)",
4141
"Bash(go clean:*)",
42+
"Bash(gofmt:*)",
4243
"Bash(git add -A:*)",
4344
"Bash(git add --all:*)",
4445
"Bash(git add .:*)",

0 commit comments

Comments
 (0)