diff options
author | Sander van Harmelen <sander@xanzy.io> | 2018-02-15 12:23:36 +0100 |
---|---|---|
committer | Sander van Harmelen <sander@xanzy.io> | 2018-02-20 16:11:35 +0100 |
commit | ab5257c3442f5d5b5236905a4c77f4f09a24d8b5 (patch) | |
tree | 0b9bd088252e6c15f4991d52d6a1155d4040ad19 /doc/ale-go.txt | |
parent | fcb7932d7d61cda142da7597c9df4da4847f0ca8 (diff) | |
download | ale-ab5257c3442f5d5b5236905a4c77f4f09a24d8b5.zip |
This fixes issue #936 by linting the whole package
Diffstat (limited to 'doc/ale-go.txt')
-rw-r--r-- | doc/ale-go.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt index 502f2376..b80bd454 100644 --- a/doc/ale-go.txt +++ b/doc/ale-go.txt @@ -20,6 +20,7 @@ the benefit of running a number of linters, more than ALE would by default, while ensuring it doesn't run any linters known to be slow or resource intensive. + =============================================================================== gobuild *ale-go-gobuild* @@ -42,6 +43,7 @@ g:ale_go_gofmt_options *g:ale_go_gofmt_options* This variable can be set to pass additional options to the gofmt fixer. + =============================================================================== gometalinter *ale-go-gometalinter* @@ -71,5 +73,35 @@ g:ale_go_gometalinter_options *g:ale_go_gometalinter_options* number of linters known to be slow or consume a lot of resources. +g:ale_go_gometalinter_package *g:ale_go_gometalinter_package* + *b:ale_go_gometalinter_package* + Type: |Number| + Default: `0` + + When set to `1`, the whole Go package will be checked instead of only the + current file. + + +=============================================================================== +staticcheck *ale-go-staticcheck* + +g:ale_go_staticcheck_options *g:ale_go_staticcheck_options* + *b:ale_go_staticcheck_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the staticcheck + linter. + + +g:ale_go_staticcheck_package *g:ale_go_staticcheck_package* + *b:ale_go_staticcheck_package* + Type: |Number| + Default: `0` + + When set to `1`, the whole Go package will be checked instead of only the + current file. + + =============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: |