Merge pull request #281 from derekprior/dp-fix-rubocop

Enable Rubocop to exclude files based on config
This commit is contained in:
w0rp 2017-01-30 15:04:09 +00:00 committed by GitHub
commit aff56e69a9

View File

@ -43,9 +43,8 @@ endif
call ale#linter#Define('ruby', { call ale#linter#Define('ruby', {
\ 'name': 'rubocop', \ 'name': 'rubocop',
\ 'executable': 'rubocop', \ 'executable': 'rubocop',
\ 'command': 'rubocop --format emacs --stdin ' \ 'command': 'rubocop --format emacs --force-exclusion --stdin '
\ . g:ale_ruby_rubocop_options \ . g:ale_ruby_rubocop_options
\ . ' _', \ . ' %s',
\ 'callback': 'ale_linters#ruby#rubocop#Handle', \ 'callback': 'ale_linters#ruby#rubocop#Handle',
\}) \})