diff options
author | Sascha Grunert <mail@saschagrunert.de> | 2018-09-06 21:31:12 +0200 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2018-09-06 20:31:12 +0100 |
commit | 7b62a157390b6abb8a41efe2c5ddbf75b1888843 (patch) | |
tree | addb42c4124bee3aaffde052c11f92bf112e513b /doc/ale-go.txt | |
parent | 580bd3677344aa2f3d2f0d3d6ee3405cae6abf54 (diff) | |
download | ale-7b62a157390b6abb8a41efe2c5ddbf75b1888843.zip |
Add golangci-lint (#1890)
Diffstat (limited to 'doc/ale-go.txt')
-rw-r--r-- | doc/ale-go.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt index c97f599e..1d55763e 100644 --- a/doc/ale-go.txt +++ b/doc/ale-go.txt @@ -135,4 +135,37 @@ g:ale_go_langserver_options *g:ale_go_langserver_options* =============================================================================== +golangci-lint *ale-go-golangci-lint* + +`golangci-lint` is a `lint_file` linter, which only lints files that are +written to disk. This differs from the default behavior of linting the buffer. +See: |ale-lint-file| + +g:ale_go_golangci_lint_executable *g:ale_go_golangci_lint_executable* + *b:ale_go_golangci_lint_executable* + Type: |String| + Default: `'golangci-lint'` + + The executable that will be run for golangci-lint. + + +g:ale_go_golangci_lint_options *g:ale_go_golangci_lint_options* + *b:ale_go_golangci_lint_options* + Type: |String| + Default: `'--enable-all'` + + This variable can be changed to alter the command-line arguments to the + golangci-lint invocation. + + +g:ale_go_golangci_lint_package *g:ale_go_golangci_lint_package* + *b:ale_go_golangci_lint_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: |