A community based topic aggregation platform built on atproto

chore: add automatic Go formatting hooks

- Add Claude hook (.claude/settings.json) to run gofumpt after editing .go files
- Fix .golangci.yml Go version to 1.24 to match golangci-lint build version
- Pre-commit hook updated to use full path for golangci-lint

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+16
+15
.claude/settings.json
··· 1 + { 2 + "hooks": { 3 + "PostToolUse": [ 4 + { 5 + "matcher": "Edit|Write", 6 + "hooks": [ 7 + { 8 + "type": "command", 9 + "command": "jq -r '.tool_input.file_path' | { read file_path; if [[ \"$file_path\" == *.go ]]; then ~/go/bin/gofumpt -w \"$file_path\" 2>/dev/null; fi; }" 10 + } 11 + ] 12 + } 13 + ] 14 + } 15 + }
+1
.golangci.yml
··· 32 32 run: 33 33 timeout: 5m 34 34 tests: true 35 + go: "1.24" # Match golangci-lint's build version to avoid version check failures 35 36 36 37 issues: 37 38 exclude-use-default: false