diff options
author | Paco <liaoishere@gmail.com> | 2020-05-22 19:09:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 06:09:14 -0500 |
commit | 7265ceb6d050d1a4642741d248f11e4f2abd37e1 (patch) | |
tree | c4d8dd7e708a201a080efb2ddc63f9b49132c7f1 /doc | |
parent | 7ff87a942b8a6c2cf50b7cf34f9b98421508f542 (diff) | |
download | ale-7265ceb6d050d1a4642741d248f11e4f2abd37e1.zip |
Support revive for go files (#2933)
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-go.txt | 19 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt index be53783e..5c0791bc 100644 --- a/doc/ale-go.txt +++ b/doc/ale-go.txt @@ -220,6 +220,25 @@ g:ale_go_govet_options *g:ale_go_govet_options* =============================================================================== +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* g:ale_go_staticcheck_options *g:ale_go_staticcheck_options* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index bd2d5b4a..45252294 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -164,6 +164,7 @@ Notes: * `gosimple`!! * `gotype`!! * `go vet`!! + * `revive`!! * `staticcheck`!! * GraphQL * `eslint` diff --git a/doc/ale.txt b/doc/ale.txt index 8d5b8820..724da57e 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2379,6 +2379,7 @@ documented in additional help files. gometalinter..........................|ale-go-gometalinter| gopls.................................|ale-go-gopls| govet.................................|ale-go-govet| + revive................................|ale-go-revive| staticcheck...........................|ale-go-staticcheck| graphql.................................|ale-graphql-options| eslint................................|ale-graphql-eslint| |