diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-01-30 15:04:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-30 15:04:09 +0000 |
commit | aff56e69a96e1bdf25e88132093500bac6c7310a (patch) | |
tree | 1885b05962f6b48c4c010261416e9b76df8cb23c | |
parent | a9c650cd05d5680a5e691eefb86e46bd6604ea1b (diff) | |
parent | a82ead0dc151e63c7bbf8d04712a42b2d5b85f12 (diff) | |
download | ale-aff56e69a96e1bdf25e88132093500bac6c7310a.zip |
Merge pull request #281 from derekprior/dp-fix-rubocop
Enable Rubocop to exclude files based on config
-rw-r--r-- | ale_linters/ruby/rubocop.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim index fad02128..69d26d33 100644 --- a/ale_linters/ruby/rubocop.vim +++ b/ale_linters/ruby/rubocop.vim @@ -43,9 +43,8 @@ endif call ale#linter#Define('ruby', { \ 'name': 'rubocop', \ 'executable': 'rubocop', -\ 'command': 'rubocop --format emacs --stdin ' +\ 'command': 'rubocop --format emacs --force-exclusion --stdin ' \ . g:ale_ruby_rubocop_options -\ . ' _', +\ . ' %s', \ 'callback': 'ale_linters#ruby#rubocop#Handle', \}) - |