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
2021-11-12 10:50:56 +03:00
committed by GitHub
parent ff26ed7231
commit 76c2293e68
2 changed files with 4 additions and 0 deletions
+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