Closed Smaug123 closed 10 months ago
Thanks for reporting this @Smaug123!
Another way to run this within the devcontainer is by doing make lint
.
We are aware of these issues and have been progressively fixing them, but we should indeed do one more push to fix all of them and enforce their absence in the CI pipeline. I have added this to the next sprint with a high priority.
By the way, we do already enforce quite a bit of linting in the CI pipeline via gofumpt
, goimports
, go vet
, and staticcheck
!
There are a number of lint failures, of which these ones are pretty concerning because they indicate unchecked errors:
Consider adding golangci-lint to the pipeline. (I generated the above with
nix-shell -p golangci-lint -p go --command "golangci-lint run"
.)