Add sub_type to Elvis output (#3976)

Elvis is Erlang style reviewer, thus all loclist objects should have
sub_type set to style.
This commit is contained in:
Dmitri Vereshchagin authored and GitHub committed 2021-11-12 16:50:56 +09:00
1 parent ff26ed7231
commit 76c2293e68
2 files changed
+4

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ function! ale_linters#erlang#elvis#Handle(buffer, lines) abort
\ 'lnum': str2nr(l:match[1]),
\ 'text': s:AbbreviateMessage(l:match[2]),
\ 'type': 'W',
\ 'sub_type': 'style',
\})
endfor