gate: run the formatter and Go linters behind golangci-lint #768
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
sixfold-space/madtea#768
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
move behind golangci-lint, configured in one
.golangci.yml. The confignames every linter and its settings, so the config is the description.
(the ADR 0053 model holds).
staticcheck decodes the current toolchain, or staticcheck stays a pinned step
beside the config, and the config does not duplicate it.
Scope
madtea-specific checks (docs-verify, adr-check, forge, conformance) stay as
they are.
Acceptance
.golangci.ymlholds the formatter and linter set, andgolangci-lint runpasses clean on the tree.staticcheck if the gap forces it, and that exception is recorded.
Part of #767. Relates to #741, #759.