-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
v2.0.0: 'run' fails with no config file and 'migrate' issues warning #5600
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
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Thank you. I'm not able to reproduce the problem:
I need more information, can you provide the "Verbose output of running"? |
I have tried running on a different project and I'm not getting this. Could it be related to the tool definitions in the go.mod file? It has the following
|
I don't think so, Maybe it was just a side effect related to an existing cache. |
As neither you nor I can reproduce the problem, I will close the issue for now. |
I think I know what the problem was, I have some configuration set in my
I commented that out and stopped getting the errors. I still find it very strange that that's causing issues outside of vim 🤷♀ |
How did you install golangci-lint?
go install
Description of the problem
Before I was running
golangci-lint has version v1.64.5 built with go1.24.0
with con config file.I've upgraded golangci to v2.0.0 and
golangci-lint run .
started returning the following errorBoth
golangci-lint config path
andgolangci-lint migrate
returnI've resolved this by creating a config file
~/.golangci.yaml
.See #5597 (comment).
Version of golangci-lint
Configuration
# paste configuration file or CLI flags here
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
Having no config file do
Note that
golangci-lint run --no-config .
does work.Validation
Supporter
The text was updated successfully, but these errors were encountered: