New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complaining about imports on unchanged files and linking to comments #534
Comments
Here's some photo evidence and a link to support: Of note, it is finding issues in a directory that was not touched, and, as Noah said, it's linting a comment. |
I'm having the same problem with issues being found in comments. This is not an issue in 1.47.3 |
Seems like relates to #535 |
Indeed it does. I will let the maintainers decide which to de-dupe. |
In order to fix this in my GitHub CI, I had to download Go 1.19 and run |
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: