Data-Context

 view release on metacpan or  search on metacpan

t/perlcriticrc  view on Meta::CPAN

# Globals
severity = 4
# force = 0
# only = 0
# allow-unsafe = 0
# profile-strictness = warn
# color = 0
# pager =
# top = 0
# verbose = 4
# include =
# exclude =
# single-policy =
# theme =
# color-severity-highest = bold red
# color-severity-high = magenta
# color-severity-medium =
# color-severity-low =
# color-severity-lowest =
# program-extensions =

# Bitwise operators are usually accidentally used instead of logical boolean operators.
[Bangs::ProhibitBitwiseOperators]
# set_themes                         = bugs core
# add_themes                         =
# severity                           = 5
# maximum_violations_per_document    = no_limit


# Commented-out code is usually noise. It should be removed.
[Bangs::ProhibitCommentedOutCode]
# set_themes                         = bangs maintenance
# add_themes                         =
# severity                           = 2
# maximum_violations_per_document    = no_limit

# Regular expression to use to look for code in comments.
# commentedcoderegex = \$[A-Za-z_].*=


# Prohibit loading of debugging modules like Data::Dumper
[Bangs::ProhibitDebuggingModules]
# set_themes                         = bangs maintenance
# add_themes                         =
severity                           = 2
# maximum_violations_per_document    = no_limit

# Module names which are considered to be banned debugging modules.
# Values that are always included: DDP, DDS, Data::Dump, Data::Dump::Filtered, Data::Dump::Streamer, Data::Dump::Trace, Data::Dumper, Data::Dumper::Concise, Data::Dumper::Concise::Sugar, Data::Dumper::EasyOO, Data::Dumper::Names, Data::Dumper::Simple...
# debugging_modules =


# Don't use XXX, TODO, or FIXME.
[Bangs::ProhibitFlagComments]
# set_themes                         = bangs maintenance
# add_themes                         =
# severity                           = 2
# maximum_violations_per_document    = no_limit

# Words to prohibit in comments.
# keywords = XXX FIXME TODO


# Know what you're going to test.
[Bangs::ProhibitNoPlan]
# set_themes                         = bangs tests
# add_themes                         =
# severity                           = 2
# maximum_violations_per_document    = no_limit


# Prohibit variables differentiated by trailing numbers.
[Bangs::ProhibitNumberedNames]
# set_themes                         = bangs maintenance
# add_themes                         =
# severity                           = 3
# maximum_violations_per_document    = no_limit

# Things to allow in variable names.
# exceptions = md5 x11 utf8

# Additional things to allow in variable names.
# add_exceptions =


# Create a `clone()' method if you need copies of objects.
[Bangs::ProhibitRefProtoOrProto]
# set_themes                         = bangs complexity
# add_themes                         =
# severity                           = 4
# maximum_violations_per_document    = no_limit


# Adding modifiers to a regular expression made up entirely of a variable created with qr() is usually not doing what you expect.
[Bangs::ProhibitUselessRegexModifiers]
# set_themes                         = bangs bugs
# add_themes                         =
# severity                           = 4



( run in 3.348 seconds using v1.01-cache-2.11-cpan-14f38c9f855 )