| 1 |
# Change the default message to show the policy name so we can shut it up if necessary |
| 2 |
verbose = %m [%p] at %f line %l, near '%r'\n |
| 3 |
|
| 4 |
# Force perlcritic to use color, even when run through a pager. |
| 5 |
color = 1 |
| 6 |
|
| 7 |
# Use a pager. |
| 8 |
pager = $PAGER |
| 9 |
|
| 10 |
# Nuthin wrong with any of these. |
| 11 |
[-BuiltinFunctions::RequireBlockMap] |
| 12 |
[-BuiltinFunctions::RequireBlockGrep] |
| 13 |
[-ValuesAndExpressions::ProhibitEmptyQuotes] |
| 14 |
[-ValuesAndExpressions::ProhibitNoisyQuotes] |
| 15 |
[-ValuesAndExpressions::ProhibitInterpolationOfLiterals] |
| 16 |
[-Variables::RequireInitializationForLocalVars] |
| 17 |
[-Variables::ProhibitPunctuationVars] |
| 18 |
[-ControlStructures::ProhibitPostfixControls] |
| 19 |
[-References::ProhibitDoubleSigils] |
| 20 |
[-Documentation::RequirePodAtEnd] |
| 21 |
[-Modules::ProhibitAutomaticExportation] |
| 22 |
|
| 23 |
# RCS keywords? Get real. |
| 24 |
[-Miscellanea::RequireRcsKeywords] |
| 25 |
|
| 26 |
# No point putting a /x on really short regexes. |
| 27 |
[RegularExpressions::RequireExtendedFormatting] |
| 28 |
minimum_regex_length_to_complain_about = 5 |
| 29 |
|
| 30 |
# Extend the ability to play with @_ to 3 line subroutines. |
| 31 |
[Subroutines::RequireArgUnpacking] |
| 32 |
short_subroutine_statements = 3 |
| 33 |
|
| 34 |
# Inform perlcritic that Mouse turns on strictures |
| 35 |
[TestingAndDebugging::RequireUseStrict] |
| 36 |
equivalent_modules = Mouse |
| 37 |
|
| 38 |
[TestingAndDebugging::RequireUseWarnings] |
| 39 |
equivalent_modules = Mouse |