# Change default severity to harsh. severity = harsh # Use only core PerlCritic policies. # This prevents tests from failing if the tester / installer has non-standard # additional PerlCritic policies. theme = core # What's wrong with tabs? They're more friendly. [-CodeLayout::ProhibitHardTabs] # Don't require /x on small regexes. [RegularExpressions::RequireExtendedFormatting] minimum_regex_length_to_complain_about = 20 # Returning undef makes it easier to enforce explicit return types in APIs. [-Subroutines::ProhibitExplicitReturnUndef]