Merge pull request #51 from jwilliams108/eslint-warnings

correctly parse eslint warning type
This commit is contained in:
w0rp 2016-10-06 11:37:50 +02:00 committed by GitHub
commit 514f088d2c

View File

@ -23,7 +23,8 @@ function! ale_linters#javascript#eslint#Handle(buffer, lines)
endif
let text = l:match[3]
let marker_parts = l:match[4]
let marker = l:match[4]
let marker_parts = split(marker, '/')
let type = marker_parts[0]
if len(marker_parts) == 2