# Change the default message to show the policy name so we can shut it up if necessary verbose = %m [%p] at %f line %l, near '%r'\n # Force perlcritic to use color, even when run through a pager. color = 1 # Use a pager. pager = $PAGER # Nuthin wrong with any of these. [-BuiltinFunctions::RequireBlockMap] [-BuiltinFunctions::RequireBlockGrep] [-ValuesAndExpressions::ProhibitEmptyQuotes] [-ValuesAndExpressions::ProhibitNoisyQuotes] [-ValuesAndExpressions::ProhibitInterpolationOfLiterals] [-Variables::RequireInitializationForLocalVars] [-Variables::ProhibitPunctuationVars] [-ControlStructures::ProhibitPostfixControls] [-References::ProhibitDoubleSigils] [-Documentation::RequirePodAtEnd] [-Modules::ProhibitAutomaticExportation] # RCS keywords? Get real. [-Miscellanea::RequireRcsKeywords] # No point putting a /x on really short regexes. [RegularExpressions::RequireExtendedFormatting] minimum_regex_length_to_complain_about = 5 # Extend the ability to play with @_ to 3 line subroutines. [Subroutines::RequireArgUnpacking] short_subroutine_statements = 3 # Inform perlcritic that Mouse turns on strictures [TestingAndDebugging::RequireUseStrict] equivalent_modules = Mouse [TestingAndDebugging::RequireUseWarnings] equivalent_modules = Mouse