# Change default severity to harsh.
severity = harsh
# 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]
# Newlines in SQL statements are much easier to read.
[-ValuesAndExpressions::ProhibitImplicitNewlines]
# Don't require /x on small regexes.
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 40
# Allow trailing commas in lists.
[-ValuesAndExpressions::ProhibitCommaSeparatedStatements]
# Not everything is that simple.
[Subroutines::ProhibitExcessComplexity]
max_mccabe = 30
# Allow map in void context, now that it's efficient again.
[-BuiltinFunctions::ProhibitVoidMap]
# No one is going to mistake the WebService::DataDog::*::delete() functions for
# the built-in delete() function
[-Subroutines::ProhibitBuiltinHomonyms]