mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-07 12:44:34 +08:00
correctly parse eslint warning type
This commit is contained in:
1 parent
192bf17e92
commit
63bed5368c
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user