Fix the eslint linter so it won't throw away lines if one earlier line doesn't match.
This commit is contained in:
parent
d2e1348c09
commit
d438da2b3b
@ -16,7 +16,7 @@ function! ale_linters#javascript#eslint#Handle(lines)
|
|||||||
let l:match = matchlist(line, pattern)
|
let l:match = matchlist(line, pattern)
|
||||||
|
|
||||||
if len(l:match) == 0
|
if len(l:match) == 0
|
||||||
break
|
continue
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let text = l:match[3]
|
let text = l:match[3]
|
||||||
|
Loading…
Reference in New Issue
Block a user