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:
Gerry Agbobada 2019-10-30 09:36:05 +01:00
parent d407b3355a
commit 70e7b8a388
3 changed files with 14 additions and 0 deletions

View file

@ -27,6 +27,7 @@ This module adds [[https://golang.org][Go]] support.
+ [[../../editor/file-templates/templates/go-mode][File templates]]
+ [[https://github.com/hlissner/doom-snippets/tree/master/go-mode][Snippets]]
+ Generate testing code (~go-gen-test~)
+ Code checking (~flycheck-golangci-lint~)
** Module Flags
This module provides no flags.
@ -39,6 +40,7 @@ This module provides no flags.
+ [[https://github.com/syohex/emacs-go-add-tags][go-add-tags]]
+ [[https://github.com/mdempsky/gocode][company-go]]*
+ [[https://github.com/s-kostyaev/go-gen-test][go-gen-test]]
+ [[https://github.com/weijiangan/flycheck-golangci-lint][flycheck-golangci-lint]] (if =:tools flycheck= is enabled)
* Prerequisites
** Go
@ -82,6 +84,10 @@ go get -u golang.org/x/tools/cmd/guru
go get -u github.com/cweill/gotests/...
#+END_SRC
+ ~golangci-lint~ (optional: for flycheck to integrate golangci-lint results)
it is recommended to *not* use go get to install this one, check the
[[https://github.com/golangci/golangci-lint#binary-release][documentation]].
* TODO Features
* TODO Configuration