Commit 6f31310e321e

Vincent Demeester <vincent@sbr.pm>
2018-11-27 18:23:30
vde-go: add golangci-lint flycheck
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3596d81
Changed files (1)
lisp/vde-go.el
@@ -80,6 +80,10 @@ _f_: freevars      ^ ^               _s_: callstack    _e_: whicherrs"
               ("C-c t c" . go-test-current-coverage)
               ("C-c t b" . go-test-current-benchmark)))
 
+(use-package flycheck-golangci-lint
+  :hook (go-mode . flycheck-golangci-lint-setup)
+  :config (setq flycheck-golangci-lint-tests t))
+
 ;; (use-package lsp-go
 ;;   :defer 2
 ;;   :after lsp-mode