Subject: | How do you assign future rule exceptions in .perlcriticrc? |
Test-Simple has a project-wide .perlcriticrc now. I'm using some
bleeding-edge policy options now such as:
# "no warnings" is fine as long as it's restricted to one or
# more categories
[TestingAndDebugging::ProhibitNoWarnings]
allow_with_category_restriction = 1
# Don't need /x on small regexes.
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 12
Unfortunately, perlcritic fails if it sees an option it doesn't
understand. This makes it difficult to use new policies and options in
a project-wide policy.
Is there a way to turn the policy check off so it ignores any options it
does not understand? If not, could a .perlcriticrc setting be added?