# note the policy causing each warning, so they can be turned off more easily
verbose  = [%p] %m at %f line %l, near '%r'\n

# no warnings if non-existent policies are mentioned in the config.
profile-strictness = quiet

### Turn off policies ##########################################################

[-Modules::RequireVersionVar]
[-ErrorHandling::RequireUseOfExceptions]
[-BuiltinFunctions::RequireBlockGrep]
[-BuiltinFunctions::RequireBlockMap]


### Configure policies #########################################################

[Variables::ProhibitPunctuationVars]
severity = 5
allow = $_ $! $0 $@ $$

[CodeLayout::RequireTidyCode]
perltidyrc = perltidyrc

[CodeLayout::ProhibitTrailingWhitespace]
severity = 5

[CodeLayout::ProhibitQuotedWordLists]
severity = 5

[CodeLayout::RequireTrailingCommas]
severity = 5

[ControlStructures::ProhibitUnreachableCode]
severity = 5

[Documentation::RequirePackageMatchesPodName]
severity = 5

[Miscellanea::ProhibitUnrestrictedNoCritic]
severity = 5

[TestingAndDebugging::ProhibitNoWarnings]
severity = 5

[Variables::ProhibitUnusedVariables]
severity = 5
