add golintc
This commit is contained in:
parent
d97e001b89
commit
bb110cad26
2 changed files with 4 additions and 0 deletions
1
.vimrc
1
.vimrc
|
|
@ -168,6 +168,7 @@ let g:EclimCompletionMethod = 'omnifunc'
|
|||
|
||||
" * Syntastic
|
||||
let g:syntastic_python_flake8_args='--ignore=E111'
|
||||
let g:syntastic_go_checkers=['go', 'govet', 'golintc']
|
||||
" E111 = Spaces should be multiples of 4. I use 2.
|
||||
|
||||
" * Configure browser for haskell_doc.vim
|
||||
|
|
|
|||
3
bin/golintc
Executable file
3
bin/golintc
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
golint "$@" | grep -v "should have comment or be unexported"
|
||||
Loading…
Add table
Add a link
Reference in a new issue