.claude/rules/go-conventions.md
raw| 1 | --- |
| 2 | paths: |
| 3 | - "**/*.go" |
| 4 | --- |
| 5 | |
| 6 | # Code conventions (go-openapi) |
| 7 | |
| 8 | - All files must have SPDX license headers (Apache-2.0). |
| 9 | - Go version policy: support the 2 latest stable Go minor versions. |
| 10 | - Commits require DCO sign-off (`git commit -s`). |
| 11 | - use `golangci-lint fmt` to format code (not `gofmt` or `gofumpt`) |