Code::TidyAll::Plugin::PerlTidy - Use perltidy with tidyall
version 0.83
# 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
Runs perltidy, a Perl tidier.
Install perltidy from CPAN.
cpanm perltidy
This plugin accepts the following configuration options:
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.
Bugs may be submitted at
<
https://github.com/houseabsolute/perl-code-tidyall/issues>.
The source code repository for Code-TidyAll can be found at
<
https://github.com/houseabsolute/perl-code-tidyall>.
- •
- Jonathan Swartz <[email protected]>
- •
- Dave Rolsky <[email protected]>
This software is copyright (c) 2011 - 2022 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.
The full text of the license can be found in the
LICENSE file included
with this distribution.