# Set default values
severity=4
verbose = %f: %m at line %l, column %c. %e. (Severity: %s, %p)\n

# severity 5 rules
[Perl::Critic::Policy::Subroutines::ProhibitReturnSort]
severity=5

[Perl::Critic::Policy::BuiltinFunctions::ProhibitSleepViaSelect]
severity=5

[Perl::Critic::Policy::BuiltinFunctions::RequireGlobFunction]
severity=5

[Perl::Critic::Policy::ClassHierarchies::ProhibitOneArgBless]
severity=5

[Perl::Critic::Policy::ControlStructures::ProhibitMutatingListFunctions]
severity=5

[Perl::Critic::Policy::BuiltinFunctions::ProhibitStringyEval]
severity=5

[Perl::Critic::Policy::InputOutput::ProhibitBarewordFileHandles]
severity=5

[Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest]
severity=5

[Perl::Critic::Policy::Modules::ProhibitEvilModules]
severity=5

[Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef]
severity=5

[Perl::Critic::Policy::Subroutines::ProhibitNestedSubs]
severity=5

[Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes]
severity=5

[Perl::Critic::Policy::TestingAndDebugging::ProhibitNoStrict]
severity=5

[Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings]
severity=5

[Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride]
severity=5
statements = 15

[Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict]
severity=5

[Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings]
severity=5

[Perl::Critic::Policy::ValuesAndExpressions::ProhibitLeadingZeros]
severity=5

[Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations]
severity=5

#[Perl::Critic::Policy::Variables::ProhibitEvilVariables]
#severity=5

[Perl::Critic::Policy::Variables::RequireLexicalLoopIterators]
severity=5

[Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen]
severity=5

[Perl::Critic::Policy::Modules::RequireFilenameMatchesPackage]
severity=5

[Perl::Critic::Policy::CodeLayout::RequireTidyCode]
severity=3

# severity 4 rules
[Perl::Critic::Policy::Miscellanea::ProhibitUnrestrictedNoCritic]
severity=4

[Perl::Critic::Policy::Miscellanea::ProhibitUselessNoCritic]
severity=4

[Perl::Critic::Policy::Modules::RequireExplicitInclusion]
severity=4

[-Perl::Critic::Policy::Subroutines::ProhibitCallsToUndeclaredSubs]
severity=4

[Perl::Critic::Policy::Subroutines::ProhibitCallsToUnexportedSubs]
severity=4

[Perl::Critic::Policy::Subroutines::ProhibitExportingUndeclaredSubs]
severity=4

[Perl::Critic::Policy::Subroutines::ProhibitQualifiedSubDeclarations]
severity=4

[Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines]
severity=4

[Perl::Critic::Policy::ControlStructures::ProhibitLabelsWithSpecialBlockNames]
severity=4

[Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode]
severity=4

[Perl::Critic::Policy::InputOutput::ProhibitExplicitStdin]
severity=4

[Perl::Critic::Policy::InputOutput::ProhibitOneArgSelect]
severity=4

[Perl::Critic::Policy::InputOutput::ProhibitReadlineInForLoop]
severity=4

[Perl::Critic::Policy::InputOutput::RequireBriefOpen]
severity=4

[Perl::Critic::Policy::Modules::ProhibitAutomaticExportation]
severity=4

[Perl::Critic::Policy::Modules::ProhibitMultiplePackages]
severity=4

[Perl::Critic::Policy::Modules::RequireExplicitPackage]
severity=4

[Perl::Critic::Policy::Objects::ProhibitIndirectSyntax]
severity=4

[Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms]
severity=4

[Perl::Critic::Policy::Subroutines::RequireArgUnpacking]
severity=4

[Perl::Critic::Policy::Subroutines::RequireFinalReturn]
severity=4

[Perl::Critic::Policy::ValuesAndExpressions::ProhibitCommaSeparatedStatements]
severity=4

[Perl::Critic::Policy::ValuesAndExpressions::ProhibitConstantPragma]
severity=4

[Perl::Critic::Policy::ValuesAndExpressions::ProhibitMixedBooleanOperators]
severity=4

[Perl::Critic::Policy::Variables::ProhibitMatchVars]
severity=4

[Perl::Critic::Policy::Variables::RequireLocalizedPunctuationVars]
severity=4

[Perl::Critic::Policy::Variables::RequireNegativeIndices]
severity=4

# intentionally disabled rules
[-Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalCan]
[-Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalIsa]
[-Perl::Critic::Policy::ControlStructures::ProhibitPostfixControls]
