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
I'm using lsp-mode and golangci-lint for Go files using the documented configuration:
(setq-default dotspacemacs-configuration-layers
'(
(go:variables
go-use-golangci-lint t
go-backend 'lsp)
)
)
For work, I would like to use lsp-sonarlint since we use SonarQube, and I'd like to catch the errors that SonarQube raises during development, rather than when I send a diff. However, because currently using golangci-lint sets lsp-diagnostic-provider to :none, I only get diagnostic messages from golangci-lint. Is there any way to get both? The issues that gopls catches by itself are not sufficient ime.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I'm using lsp-mode and golangci-lint for Go files using the documented configuration:
For work, I would like to use lsp-sonarlint since we use SonarQube, and I'd like to catch the errors that SonarQube raises during development, rather than when I send a diff. However, because currently using
golangci-lint
setslsp-diagnostic-provider
to:none
, I only get diagnostic messages fromgolangci-lint
. Is there any way to get both? The issues thatgopls
catches by itself are not sufficient ime.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions