Adjust rubocop error levels
Consider rubocop fatal errors as ALE errors, and rubocop style warnings as ALE warnings.
This commit is contained in:
parent
a1be697a02
commit
b9c078da20
@ -25,7 +25,7 @@ function! ale_linters#ruby#rubocop#Handle(buffer, lines) abort
|
||||
\ 'lnum': l:match[1] + 0,
|
||||
\ 'col': l:match[2] + 0,
|
||||
\ 'text': l:text,
|
||||
\ 'type': index(['C', 'E'], l:type) != -1 ? 'E' : 'W',
|
||||
\ 'type': index(['F', 'E'], l:type) != -1 ? 'E' : 'W',
|
||||
\})
|
||||
endfor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user