-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Summary
go tool task fmt now delegates to golangci-lint with gofmt/goimports, but .golangci.yml hard-codes the goimports local-prefixes. Running the formatter from a fork or nested module can cause the prefixes to drift.
Desired outcome
- Derive the goimports
local-prefixesfromgithub.com/satococoa/wtp/v2(or the current module path) during the task run so forks/renames stay correct. - Document the formatter behaviour so contributors know
go tool task fmtis the canonical entry point. - Optionally consider adding additional formatters (e.g., gofumpt or gci) if they provide value.
Notes
- Keep formatter output deterministic.
- Any new formatter should be applied in both CI and contributor docs.
Metadata
Metadata
Assignees
Labels
No labels