NAME¶
Code::TidyAll::Plugin::PerlCritic - use perlcritic with tidyall
VERSION¶
version 0.20
SYNOPSIS¶
In configuration:
; Configure in-line
;
[PerlCritic]
select = lib/**/*.pm
argv = --severity 5 --exclude=nowarnings
; or refer to a .perlcriticrc in the same directory
;
[PerlCritic]
select = lib/**/*.pm
argv = --profile $ROOT/.perlcriticrc
DESCRIPTION¶
Runs perlcritic, a Perl validator, and dies if any problems were found.
INSTALLATION¶
Install perlcritic from CPAN.
cpanm perlcritic
CONFIGURATION¶
- argv
- Arguments to pass to perlcritic
SEE ALSO¶
Code::TidyAll
AUTHOR¶
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same
terms as the Perl 5 programming language system itself.