Change --emacs flag to --format emacs for RuboCop
The `--emacs` flag has been deprecated. Switch to specifying `--format emacs` so that this doesn't break when RuboCop 1.0 is released.
This commit is contained in:
parent
90259bde00
commit
baa95470b6
@ -25,7 +25,7 @@ endfunction
|
||||
function! SyntaxCheckers_ruby_rubocop_GetLocList()
|
||||
let makeprg = syntastic#makeprg#build({
|
||||
\ 'exe': 'rubocop',
|
||||
\ 'args': '--emacs --silent',
|
||||
\ 'args': '--format emacs --silent',
|
||||
\ 'filetype': 'ruby',
|
||||
\ 'subchecker': 'rubocop' })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user