We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This language server does not work with newer versions of golangci-lint. Here's my version:
$ golangci-lint version golangci-lint has version 2.1.1 built with go1.24.2 from 93dabf9 on 2025-04-12T18:12:29Z
Here's my (previously functional) configuration. I'm using Neovim's new built-in LSP:
--- @class vim.lsp.Config return { cmd = { "golangci-lint-langserver", }, filetypes = { "go", "gomod" }, init_options = { command = { "golangci-lint", "run", "--out-format=json", "--show-stats=false", }, }, root_markers = { ".golangci.yml", ".golangci.yaml", ".golangci.toml", ".golangci.json", "go.work", "go.mod", ".git", }, }
The issue is that --out-format is not a valid flag anymore. Do we have a functional configuration for the newer version of golangci-lint?
--out-format
golangci-lint
The text was updated successfully, but these errors were encountered:
Configuration | golangci-lint
Sorry, something went wrong.
#58
No branches or pull requests
This language server does not work with newer versions of golangci-lint. Here's my version:
Here's my (previously functional) configuration. I'm using Neovim's new built-in LSP:
The issue is that
--out-format
is not a valid flag anymore. Do we have a functional configuration for the newer version ofgolangci-lint
?The text was updated successfully, but these errors were encountered: