Login
CodeLayout::ProhibitQuotedWordLists also now applies to the
[gknop/Perl-Critic.git] / xt / author / 42_perlcriticrc-tests
CommitLineData
c5c82e5d
ES
1##############################################################################
2# $URL$
3# $Date$
4# $Author$
5# $Revision$
6##############################################################################
7
8profile-strictness = quiet
9severity = 1
10theme = core
11verbose = %f: %m at line %l, column %c. %e. (Severity: %s, %p)\n
12
13#-----------------------------------------------------------------------------
14
15[-CodeLayout::RequireTidyCode]
16
17[Documentation::RequirePodSections]
18lib_sections = NAME|DESCRIPTION|AUTHOR|COPYRIGHT
19script_sections = NAME|DESCRIPTION|AUTHOR|COPYRIGHT
20
c5c82e5d
ES
21[CodeLayout::ProhibitHardTabs]
22allow_leading_tabs = 0
23
649a132b
ES
24[ControlStructures::ProhibitPostfixControls]
25flowcontrol = warn die carp croak cluck confess goto exit plan skip
26
c5c82e5d 27[Documentation::PodSpelling]
34d4a77e 28stop_words =
c5c82e5d 29
aa1bf905
ES
30[-Documentation::RequirePodSections]
31
8389aa9c
ES
32# Too endemic for me to deal with right now
33[-ErrorHandling::RequireCheckingReturnValueOfEval]
34
c5c82e5d
ES
35[InputOutput::RequireCheckedSyscalls]
36functions = open close
37
34d4a77e
ES
38[Miscellanea::RequireRcsKeywords]
39keywords = URL Date Author Revision
40
8389aa9c
ES
41# Character length is not a proper measure of complexity.
42[-RegularExpressions::ProhibitComplexRegexes]
43
c5c82e5d
ES
44[RegularExpressions::ProhibitUnusualDelimiters]
45allow_all_brackets = 1
46
47[RegularExpressions::RequireBracesForMultiline]
48allow_all_brackets = 1
34d4a77e
ES
49
50# Tests are allowed to peek.
51[-Subroutines::ProtectPrivateSubs]
f59b9807
ES
52
53# Too endemic for me to deal with right now
54[-ValuesAndExpressions::ProhibitMagicNumbers]
d479645e
JRT
55
56# Might move this to P::C::More
57[-ValuesAndExpressions::RequireConstantOnLeftSideOfEquality]
58