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::PerlTidy - Use perltidy 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 "perltidy".

       If you are using "Perl::Tidy" version 20220101 or newer, than the "--encode-output-strings" flag will be
       appended to whatever you supply. In this case, you should ensure that you are not passing a
       "--character-encoding" ("-enc") or "-utf8" flag to perltidy as well.

Description

       Runs perltidy, a Perl tidier.

Installation

       Install perltidy from CPAN.

           cpanm perltidy

Name

       Code::TidyAll::Plugin::PerlTidy - Use perltidy 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
          ;
          [PerlTidy]
          select = lib/**/*.pm
          argv = --noll

          ; or refer to a .perltidyrc in the same directory
          ;
          [PerlTidy]
          select = lib/**/*.pm
          argv = --profile=$ROOT/.perltidyrc

Version

       version 0.84

See Also