#Set severity to 'gentle' and then try stern. If we achieve 'harsh' the code is good enough.
#5:gentle;4:stern;3:harsh
severity  = harsh
#only      = 1
#force     = 1
#verbose   = 11
top       = 50
#theme     = (pbp and security and bugs and maintenance and complexity and security)
#include   = NamingConventions ClassHierarchies
#exclude   = Variables  Modules::RequirePackage
#criticism-fatal = 1
#color     = 1
#allow-unsafe = 0
#pager     = less

#Perl::Critic::Policy::Subroutines::RequireArgUnpacking - Always unpack @_ first.
[Subroutines::RequireArgUnpacking]
short_subroutine_statements = 5
allow_delegation_to = get_obj_args get_args _get_obj_args


[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Mojo::Base

[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Mojo::Base

#think of some strictier no strict
[TestingAndDebugging::ProhibitNoStrict]
allow = refs

[TestingAndDebugging::ProhibitProlongedStrictureOverride]
statements = 2
[TestingAndDebugging::ProhibitNoWarnings]
allow = once
#allow_with_category_restriction = 1


#
[BuiltinFunctions::ProhibitStringyEval]
allow_includes=1

[Documentation::RequirePodSections]
source   = book
lib_sections    = NAME | SYNOPSIS | METHODS | ATTRIBUTES | CONFIG | BUGS AND LIMITATIONS | AUTHOR
script_sections = NAME | USAGE | OPTIONS | AUTHOR

[Variables::ProhibitPackageVars]
add_packages = Carp Email::Address
[CodeLayout::ProhibitHardTabs]

#Shorten allowed lenght of regexp for more readability.
[RegularExpressions::ProhibitComplexRegexes]
max_characters = 50
#
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 20
#strict=0

#Perl::Critic::Policy::InputOutput::RequireBriefOpen;
[InputOutput::RequireBriefOpen]
lines = 21

[Variables::RequireLocalizedPunctuationVars]
allow = %ENV
