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
commit a88a3e12b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"))