golangci-lint
golangci-lint support.
Language servers
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for golangci-lint. The extension's id is golangci-lint.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Zed golangci-lint
A Zed extension for running golangci-lint on your Go code.
Configuration
{
"lsp": {
"golangci-lint": {
"initialization_options": {
"command": ["golangci-lint", "run", "--out-format", "json", "--issues-exit-code=1"]
}
}
},
"languages": {
"Go": {
"language_servers": ["gopls", "golangci-lint"]
}
}
}