Fix the eslint linter so it won't throw away lines if one earlier line doesn't match.

This commit is contained in:
w0rp 2016-09-13 22:26:04 +01:00
parent d2e1348c09
commit d438da2b3b

View File

@ -16,7 +16,7 @@ function! ale_linters#javascript#eslint#Handle(lines)
let l:match = matchlist(line, pattern)
if len(l:match) == 0
break
continue
endif
let text = l:match[3]