You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I run the GoLint command in my devcontainer the golangci-lint binary is being installed. The problem is that, even though the installation seems successful
What happens if you run go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ?
Likely, the tools are not properly installed.
Alternatively, you can install golangci-lint with tools like brewapt install to your PATH
As the plugin will use os.executable('golangci-lint') to check if the tool is properly installed.
What happens if you run go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ? Likely, the tools are not properly installed. Alternatively, you can install golangci-lint with tools like brewapt install to your PATH As the plugin will use os.executable('golangci-lint') to check if the tool is properly installed.
I think the issue is not about the check itself, but rather the way this plugin tries to install golangci-lint, which I ignore. For instance, when I install golangci-lint by any other means (e.g. go install, mason, golangci-lint install script, etc.), the command GoLint works as expected.
Whenever I run the
GoLint
command in my devcontainer thegolangci-lint
binary is being installed. The problem is that, even though the installation seems successfulthe next time I run
GoLint
the installation is repeated.By running
checkhealth
command I see in thego.nvim
checks that thegolangci-lint
tool is always missing.The only workaround so far is manually installing the tool from within the container:
The text was updated successfully, but these errors were encountered: