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
I'm getting again and again the same "Go linter running error", why? #100
Comments
Hi @frederikhors , if there's no syntax error, just run |
I already did it. Nothing changes (go.mod & go.sum are updated) and it keeps to show again and again. Is there a way to read some logs? |
Yes, there's Goland log, click |
I tried the Debug command in my terminal and it works. I really don't know what is going on. The command is: Or maybe the problem is:
|
|
I found this: golangci/golangci-lint#2523 and golangci/golangci-lint#1920. I clearead my If I simply run I cannot share code right now because the project is big and private. |
I just found this too: https://youtrack.jetbrains.com/issue/GO-11249. |
With those 2 still no luck?
As mentioned in those related issues, it might due to inconsistent env variables between your terminal and Goland, would you share your |
Yeah, still no luck after those 2 commands. I tried it very precisely. The
|
2 questions,
|
I had the same problem for soooo long and today I've decided to look into it.
It was strange, because there is a GOPATH set Just for LOLs I added it one more time And now everything works... I consider this a bug, but as a workaround it is fine :-) |
Hi @mkevac , that was unusual, does restarting Goland help resolve the issue? I mean after remove the one you added. |
@xxpxxxxp it does not. As soon as I remove added line, error comes back. |
The original ( I've found another use case which can cause almost the same outcome: The example value for the If you (as I've done) copy this file to your project to clean it up and configure it for your needs not relying on the default parameters you may end up getting constant Changing Just to be clear: if I'm not mistaken, the default value for |
I'm getting again and again the same error in Goland:
I have the below
.golangci.yml
file in my root dir:I'm using
and Goland 2021.3.2 with Go Linter 1.5.9 on Windows 10.
What's the problem?
The text was updated successfully, but these errors were encountered: