Dist-Zilla-Plugin-Test-Legal

 view release on metacpan or  search on metacpan

.perlcriticrc  view on Meta::CPAN


# empty quotes are okay as the fallback on the rhs of ||
[-Lax::ProhibitEmptyQuotes::ExceptAsFallback]
# set_themes                         = lax
# add_themes                         =
# severity                           = 2
# maximum_violations_per_document    = no_limit
# Cannot programmatically discover what parameters this policy takes.


# leading zeroes are okay as the first arg to chmod
[Lax::ProhibitLeadingZeros::ExceptChmod]
# set_themes                         = bugs lax
# add_themes                         =
# severity                           = 3
# maximum_violations_per_document    = no_limit
# Cannot programmatically discover what parameters this policy takes.


# stringy eval is bad, but it's okay just to "require"
[Lax::ProhibitStringyEval::ExceptForRequire]

.perlcriticrc  view on Meta::CPAN

# allow_if_string_contains_single_quote = 0


# Write `oct(755)' instead of `0755'.
[ValuesAndExpressions::ProhibitLeadingZeros]
# set_themes                         = bugs certrec core pbp
# add_themes                         =
# severity                           = 5
# maximum_violations_per_document    = no_limit

# Don't allow any leading zeros at all.  Otherwise builtins that deal with Unix permissions, e.g. chmod, don't get flagged.
# strict = 0


# Long chains of method calls indicate tightly coupled code.
[ValuesAndExpressions::ProhibitLongChainsOfMethodCalls]
# set_themes                         = core maintenance
# add_themes                         =
# severity                           = 2
# maximum_violations_per_document    = no_limit



( run in 0.270 second using v1.01-cache-2.11-cpan-8d75d55dd25 )