1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# level 3 is a nice compromise
severity = 3
verbose = 3
# these policies are either too anal, demand additional dependencies,
# or inhibit backwards-compatability
[-RegularExpressions::RequireExtendedFormatting]
[-ValuesAndExpressions::ProhibitConstantPragma]
[-Variables::ProhibitPackageVars]
[-Variables::RequireLocalizedPunctuationVars]
[-BuiltinFunctions::ProhibitStringyEval]
[-Subroutines::ProhibitBuiltinHomonyms]
[-Subroutines::ProhibitUnusedPrivateSubroutines]
[-Subroutines::RequireArgUnpacking]
[-ErrorHandling::RequireCarping]
[-ErrorHandling::RequireCheckingReturnValueOfEval]
# more policies we don't care about in tests
[-InputOutput::ProhibitExplicitStdin]
[-InputOutput::RequireBriefOpen]
[-Modules::RequireEndWithOne]
[-Modules::RequireExplicitPackage]
[-Modules::RequireFilenameMatchesPackage]
[-Subroutines::RequireFinalReturn]
[-ControlStructures::ProhibitCascadingIfElse]
|