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
Enable embeddedstructfieldcheck and godoclint linters
Add two new golangci-lint linters and fix all existing violations:
- embeddedstructfieldcheck: enforce embedded fields at the top of structs
with a blank line separating them from regular fields
- godoclint: enforce godoc comments start with the symbol name and
remove duplicate package comments
The bulk of the changes are mechanical: adding a blank line after
embedded fields in struct definitions, moving AgentContext to the top
of event structs in pkg/runtime/event.go, and fixing godoc comments
in pkg/hooks/types.go, pkg/tui/styles/styles.go, and pkg/app/app.go.
Assisted-By: docker-agent
0 commit comments