Closed lmoe closed 2 years ago
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Hello,
[x] Yes, I've tried with the standalone linter if available
As you have checked this, can you give me the output of the go-critic command line?
Hey,
maybe I misunderstood that mark. I ran golangci-lint run --disable-all --profile=goanalysis_metalinter
before.
I've now run gocritic
this is the output:
golangci-lint just with gocritic enabled:
are you using the same version of go-critic as golangci-lint v1.49.0?
https://github.com/golangci/golangci-lint/blob/cc2d97f31dea62c47c55d5b7a93637e242df7ad1/go.mod#L31
Oh well, no I just installed the latest version according to the readme. Sorry.
Good catch, this version has the the issue:
So it seems like upgrading the go-critic version in golangci-lint could solve the problem? The latest one seems to work.
So the issue is already fixed by #3150
Welcome
Description of the problem
Hey, thanks a lot for this great piece of software. It has helped tremendously during development. Today it started to act out though, and I'm not quite sure why. I've tried to google the error, but
unreachable
seems not so common?The main application itself builds fine. (It also contains multiple tools, all of them build fine
go build ./...
).I've tried to figure out the problem by adding folders to
skip-dirs
configuration, but even if I blacklist all folders wheremodel
is referenced, the linter still throws this error. (mainly,packages
/plugins
)The configuration itself seems to get pulled and used though. If I disable all linters inside the configuration, I get an error that at least one linter needs to be enabled.
Thanks in advance!
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
Code example or link to a public repository