Skip to content

vscode error: unknown flag: --print-issued-lines #5834

Answered by ldez
adamk33n3r asked this question in Q&A
Discussion options

You must be logged in to vote

So, installing golangci-lint with Chocolatey doesn't work with vscode, it's not a golangci-lint problem but a vscode-go extension problem.

FYI, the golangci-lint team is not part of the vscode-go team.
The Go organization maintains the extension.

I have an idea to "fix" the problem, but I'm not sure this will be accepted.

As a workaround, you install golangci-lint via the extension by using "go.lintTool": "golangci-lint-v2",

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@adamk33n3r
Comment options

@ldez
Comment options

ldez May 27, 2025
Maintainer

Answer selected by adamk33n3r
@adamk33n3r
Comment options

@adamk33n3r
Comment options

@ldez
Comment options

ldez May 28, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants