NAME

Code::TidyAll::Plugin::PerlTidySweet - Use perltidy-sweet with tidyall

VERSION

version 0.84

SYNOPSIS

# In configuration:

; Configure in-line
;
[PerlTidySweet]
select = lib/**/*.pm
argv = --noll

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

DESCRIPTION

Runs perltidy-sweet, a Perl tidier based on Perl::Tidy that also supports new syntactic sugar as provided by Method::Signature::Simple, MooseX::Method::Signatures and the p5-mop.

INSTALLATION

Install perltidy-sweet from CPAN.

cpanm Perl::Tidy::Sweet

CONFIGURATION

This plugin accepts the following configuration options:

argv

Arguments to pass to perltidy-sweet.

SUPPORT

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

SOURCE

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

AUTHORS

  • Jonathan Swartz <swartz@pobox.com>

  • Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 - 2023 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.