Support revive for go files (#2933)

Signed-off-by: Penghui Liao <liaoishere@gmail.com>
This commit is contained in:
Paco
2020-05-22 19:09:14 +08:00
committed by GitHub
parent 7ff87a942b
commit 7265ceb6d0
6 changed files with 73 additions and 0 deletions
+19
View File
@@ -219,6 +219,25 @@ g:ale_go_govet_options *g:ale_go_govet_options*
This variable can be set to pass additional options to the go vet linter.
===============================================================================
revive *ale-go-revive*
g:ale_go_revive_executable *g:ale_go_revive_executable*
*b:ale_go_revive_executable*
Type: |String|
Default: `'revive'`
This variable can be set to change the revive executable path.
g:ale_go_revive_options *g:ale_go_revive_options*
*b:ale_go_revive_options*
Type: |String|
Default: `''`
This variable can be set to pass additional options to the revive
===============================================================================
staticcheck *ale-go-staticcheck*