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:
36271
Status:
rejected
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
amir.aharoni [...] mail.huji.ac.il
Cc:
AdminCc:

BugTracker
Severity:
Wishlist
Broken in:
1.084
Fixed in:
(no value)



Subject: "no critic" allows only policy names, but no fine-tuning as in .perlcriticrc
There are two main ways to disable P::C policies: using "## no critic" comments and using .perlcriticrc. Some policies ca be fine-tuned using .perlcriticrc. For example: [Variables::ProhibitPunctuationVars] allow = %+ $+ [ControlStructures::ProhibitMutatingListFunctions] list_funcs = map grep List::Util::first I couldn't find a way to do it with "## no critic" comments, but it would be useful.
That's a really interesting idea, but I think it would complicate things dramatically. As they are currently implemented, Policy objects are generally immutable once they've been instantiated by the PolicyFactory. I'm going to mark this ticket as 'rejected' just to clear it off the queue. Don't take it personally ;) -Jeff


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.