# 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 = 50

# Allow map in void context, now that it's efficient again.
[-BuiltinFunctions::ProhibitVoidMap]

# Allow complex regexs, as long as they're commented inside they can be long.
[-RegularExpressions::ProhibitComplexRegexes]
