logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Code::TidyAll::Plugin::PerlCritic - Use perlcritic with tidyall

Authors

       •   Jonathan Swartz <swartz@pobox.com>

       •   Dave Rolsky <autarch@urth.org>

Configuration

       This plugin accepts the following configuration options:

   argv
       Arguments to pass to "perlcritic".

Description

       Runs perlcritic, a Perl validator, and dies if any problems were found.

Installation

       Install perlcritic from CPAN.

           cpanm perlcritic

Name

       Code::TidyAll::Plugin::PerlCritic - Use perlcritic with tidyall

Source

       The source code repository for Code-TidyAll can be found at
       <https://github.com/houseabsolute/perl-code-tidyall>.

Support

       Bugs may be submitted at <https://github.com/houseabsolute/perl-code-tidyall/issues>.

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

Version

       version 0.84

See Also