Add flycheck-golangci-lint
This plugin runs [golangci-lint](https://github.com/golangci/golangci-lint) in the background and gathers the results in a checker.
This commit is contained in:
parent
d407b3355a
commit
70e7b8a388
3 changed files with 14 additions and 0 deletions
|
@ -68,3 +68,8 @@
|
|||
:config
|
||||
(set-company-backend! 'go-mode 'company-go)
|
||||
(setq company-go-show-annotation t))
|
||||
|
||||
(use-package! flycheck-golangci-lint
|
||||
:when (featurep! :tools flycheck)
|
||||
:hook (go-mode . flycheck-golangci-lint-setup)
|
||||
:config (setenv "GO111MODULE" "on"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue