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
On a recent PR, golangci-lint started complaining about files that we not part of the PR, that didn't actually need a goimports run (we ran it on the entire repo with no delta), and it emitted the findings on comments in the file rather than the imports section.
I'm having the same problem with issues being found in comments.
Running goimports on the "offending" files does nothing and running golangci-lint locally does not detect any issues.
In order to fix this in my GitHub CI, I had to download Go 1.19 and run go1.19 fmt ./... on my repo, which performed the necessary formatting on the comment that it cared about. My project is pinned to go1.18 so 🤷
On a recent PR, golangci-lint started complaining about files that we not part of the PR, that didn't actually need a goimports run (we ran it on the entire repo with no delta), and it emitted the findings on comments in the file rather than the imports section.
Here is the offending run.
Any idea what it could be?
The text was updated successfully, but these errors were encountered: