You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add golangci-lint with pre-commit hook and CI integration (#652)
- Add .golangci.yml config with forbidigo linter to catch built-in
print/println usage (prints to stderr instead of stdout)
- Replace all print/println calls with fmt.Print/fmt.Println
- Fix fileservice_test.go to use correct PullFile/PushFile signatures
- Add lint job to GitHub Actions CI workflow
- Add pre-commit hook (.githooks/pre-commit) that runs gofmt and linter
- Add `make setup` to configure git hooks and `make lint` to run linter
Closes #571
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>