Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Perl: perlcritic

LCD 47 edited this page Jun 12, 2016 · 9 revisions

This file is no longer maintained

This file exists only as a historic reference. Documentation for syntastic checkers is now included in the manual, please see :help syntastic-checkers in Vim.


Maintainer: LCD 47 lcd047@gmail.com

For details about perlcritic see:

Checker options

g:syntastic_perl_perlcritic_thres (integer; default: 5)
error threshold: policy violations with a severity above this value are highlighted as errors, the others are warnings
g:syntastic_perl_perlcritic_args (string; default: empty)
command line options to pass to perlcritic

Note

You can also override the format of perlcritic messages, for example:

let g:syntastic_perl_perlcritic_post_args = '--verbose "\%s:\%f:\%l:\%c: \%p: \%m\n"'

Just make sure to leave alone the leading \%s:\%f:\%l:\%c:.

Clone this wiki locally