# 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]

# This module unfortunately requires fairly complex regexes.
[-RegularExpressions::ProhibitComplexRegexes]

# Don't require /x on small regexes.
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 20

# Allow newlines in strings.
[-ValuesAndExpressions::ProhibitImplicitNewlines]

# Allow slightly more complex subroutines.
[Subroutines::ProhibitExcessComplexity]
max_mccabe = 25