closes #1580 add force exclusion to rubocop fixer

This commit is contained in:
Justin Powell committed 2018-10-26 10:40:02 -05:00
1 parent 86c035466b
commit b7e0321890
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ function! ale#fixers#rubocop#GetCommand(buffer) abort
return ale#handlers#ruby#EscapeExecutable(l:executable, 'rubocop')
\ . (!empty(l:config) ? ' --config ' . ale#Escape(l:config) : '')
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ' --auto-correct %t'
\ . ' --auto-correct --force-exclusion %t'
endfunction
function! ale#fixers#rubocop#Fix(buffer) abort