Merge pull request #1983 from gagbo/feature/golang/flycheck_ci-lint

lang/go: add flycheck-golangci-lint
This commit is contained in:
Henrik Lissner
2019-11-21 17:21:52 -05:00
committed by GitHub
3 changed files with 14 additions and 0 deletions

View File

@ -69,3 +69,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"))