-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
layer go: add support for golangci-lint #10825
Comments
This issue was fixed a long time ago in |
@panchoh Your right, thanks. |
Sorry to hijack this but I think my question is related to this feature. I configured my spacemacs to use the Do I need to set the p.s. |
I see the same behavior as @dbriemann |
Using an official way of installing
|
See #10825. Try to match more closely the build process followed upstream: - Force module build mode, which builds the latest stable release (not master), and takes care of module replacements. - Disable cgo. - The -trimpath argument to go get requires go >= 1.13, which is also needed because go <= 1.12 has a bug that causes problems with golangci-lint², as explained in the golangci-lint installation instructions². Note that the only thing that is missing to exactly match the upstream build process is the addition of some -X variables, which only affect the data reported by golangci-lint version. ¹: golang/go#29612 ²: https://github.com/golangci/golangci-lint#install Thanks to @dbriemann and @seriousben for reporting and clarifying this issue!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Go layer has support for gometalinter, but it has no switch to use golangci-lint (https://github.com/golangci/golangci-lint) instead.
Flycheck already has package
flycheck-golangci-lint
.The text was updated successfully, but these errors were encountered: