mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-01 18:12:16 +08:00
Fix #1132 - Parse react error codes again for ESLint
This commit is contained in:
1 parent
1d65e5692f
commit
71d34fc0c6
2 files changed
+19
-4
No files matched your search
@@ -133,8 +133,9 @@ function! ale#handlers#eslint#Handle(buffer, lines) abort
|
||||
let l:obj.type = 'W'
|
||||
endif
|
||||
|
||||
" The code can be something like 'Error/foo/bar', or just 'Error'
|
||||
if !empty(get(l:split_code, 1))
|
||||
let l:obj.code = l:split_code[1]
|
||||
let l:obj.code = join(l:split_code[1:], '/')
|
||||
endif
|
||||
|
||||
for l:col_match in ale#util#GetMatches(l:text, s:col_end_patterns)
|
||||
|
||||
Reference in new issue
Block a user