diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 00000000..4fd816c7 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "PostToolUse": [ + { + "matcher": "Edit|Write", + "hooks": [ + { + "type": "command", + "command": "jq -r '.tool_input.file_path // empty' | xargs -I{} gofumpt -w {}" + } + ] + } + ] + } +}