Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 67212
Status: open
Priority: 0/
Queue: Perl-Critic

Owner: Nobody in particular
Requestors: DOUGDUDE [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: CodeLayout::RequireTidyCode relative perltidyrc file
Download (untitled) / with headers
text/plain 565b
It would be nice if in CodeLayout::RequireTidyCode the perltidyrc file options would make a relative file relative to where the perlcriticrc file is (if it was specified using a perlcriticrc file). This way I can have a perlcriticrc and a perltidyrc file in my project's root. $ pwd /home/doug/my-project/ $ ls perlcritic.rc perltidy.rc $ cat percritic.rc [CodeLayout::RequireTidyCode] perltidyrc = perltidy.rc And then this would cause Perl::Critic::CodeLayout::RequireTidyCode to change the path of percritic.rc to the absolute /home/doug/my-project/perltidy.rc
Download (untitled) / with headers
text/plain 143b
Perhaps this even means that a "filename" behavior should be added to supported_parameters and then make perltidyrc have the filename behavior.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to