Replies: 1 comment 3 replies
-
Why did you move it here? This is not a question. I'm reporting a bug. This thing is supposed to work under Windows. Other linters do. This one does on Linux. The only difference is OS. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Welcome
Description of the problem
I'm using VS Code and run linters from there. In one of the projects
golangci-lint
doesn't work on Windows. Exact same setup on Linux runs fine. One of the possible causes is that there somecgo
indirect dependency ongithub.com/DataDog/zstd
.Here is the output:

As I said, exact same thing runs on Linux with no issues.
I also tried running another linters, such as
revive
, and they also work well. Problem is only withgolangci-lint
on Windows.Tried both with and without
gcc
toolchain in%PATH%
.Version of golangci-lint
Configuration file
default config
Go environment
Verbose output of running
Code example or link to a public repository
n/a
Beta Was this translation helpful? Give feedback.
All reactions