mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-25 23:27:27 +08:00
Merge pull request #281 from derekprior/dp-fix-rubocop
Enable Rubocop to exclude files based on config
This commit is contained in:
commit
aff56e69a9
1 file changed
+2
-3
@@ -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',
|
||||
\})
|
||||
|
||||
Reference in new issue
Block a user