summaryrefslogtreecommitdiff
path: root/ale_linters/perl
diff options
context:
space:
mode:
authorEddie Lebow <elebow@users.github.com>2017-11-11 15:15:19 -0500
committerEddie Lebow <elebow@users.github.com>2017-11-11 17:46:21 -0500
commit4d44996af618bf3907370e45a1e875e3802398d0 (patch)
treee7e7278ff8d3c709addca18549d519b3ff368a4d /ale_linters/perl
parent9e7c493e7e6a5b7d22502aebda399e93d40a7974 (diff)
downloadale-4d44996af618bf3907370e45a1e875e3802398d0.zip
perlcritic: all issues are warnings
Perlcritic is a style checker, not a syntax validator. This change was originally proposed by @RsrchBoy in https://github.com/w0rp/ale/pull/784.
Diffstat (limited to 'ale_linters/perl')
-rw-r--r--ale_linters/perl/perlcritic.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/perl/perlcritic.vim b/ale_linters/perl/perlcritic.vim
index df2f8b23..24f7eb86 100644
--- a/ale_linters/perl/perlcritic.vim
+++ b/ale_linters/perl/perlcritic.vim
@@ -61,6 +61,7 @@ function! ale_linters#perl#perlcritic#Handle(buffer, lines) abort
\ 'lnum': l:match[1],
\ 'col': l:match[2],
\ 'text': l:match[3],
+ \ 'type': 'W'
\})
endfor