-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Inconsistent behavior of "revive"'s "confusing-naming" linter when used together with "nolintlint" #3476
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
Comments
This is happening for me too when updating to 1.64.2. I'm using Go version 1.23.6. Locally the
A colleague ran I suspect there is some kind of caching issue going on, but I haven't been able to figure out how to reproduce it. Unfortunately the repository etc is private so I can't share that. I believe I have seen a similar issue when updating I noticed #3228 which sounds like probably the same core problem. Some additional information about my setup:
|
Related to #3228 (comment) |
Thanks again for fixing this |
Welcome
Description of the problem
It seems like the
confusing-naming
linter ofrevive
is behaving inconsistently when used in conjunction with the "nolintlint" linter, based on the order of which the source files are parsed / analyzed.See the code example / steps to reproduce below.
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository
The text was updated successfully, but these errors were encountered: