diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-24 10:05:44 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-24 10:05:44 +0100 |
commit | d368f090aeeca3545dd03b1bfe4bff5e6a95d7e2 (patch) | |
tree | 01cb50e7de53bd94f162a59bdefb0a21c08699e6 /ale_linters/go | |
parent | 95be2bf1ff9221eb74dc028ca616412305b2bc85 (diff) | |
download | ale-d368f090aeeca3545dd03b1bfe4bff5e6a95d7e2.zip |
#1754 Require snake_case names for linters in the codebase
Diffstat (limited to 'ale_linters/go')
-rw-r--r-- | ale_linters/go/gobuild.vim | 3 | ||||
-rw-r--r-- | ale_linters/go/govet.vim | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ale_linters/go/gobuild.vim b/ale_linters/go/gobuild.vim index 068877a3..c4608071 100644 --- a/ale_linters/go/gobuild.vim +++ b/ale_linters/go/gobuild.vim @@ -70,7 +70,8 @@ function! ale_linters#go#gobuild#Handler(buffer, lines) abort endfunction call ale#linter#Define('go', { -\ 'name': 'go build', +\ 'name': 'gobuild', +\ 'aliases': ['go build'], \ 'executable': 'go', \ 'command_chain': [ \ {'callback': 'ale_linters#go#gobuild#GoEnv', 'output_stream': 'stdout'}, diff --git a/ale_linters/go/govet.vim b/ale_linters/go/govet.vim index edf9eb66..e94e6ecd 100644 --- a/ale_linters/go/govet.vim +++ b/ale_linters/go/govet.vim @@ -9,7 +9,8 @@ function! ale_linters#go#govet#GetCommand(buffer) abort endfunction call ale#linter#Define('go', { -\ 'name': 'go vet', +\ 'name': 'govet', +\ 'aliases': ['go vet'], \ 'output_stream': 'stderr', \ 'executable': 'go', \ 'command_callback': 'ale_linters#go#govet#GetCommand', |