Login
Further cleanup after moving that policy to P-C-More.
[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
724b3cfb
ES
15[CodeLayout::ProhibitQuotedWordLists]
16strict = 1
c5c82e5d 17
c5c82e5d
ES
18[CodeLayout::ProhibitHardTabs]
19allow_leading_tabs = 0
20
724b3cfb
ES
21[-CodeLayout::RequireTidyCode]
22
649a132b
ES
23[ControlStructures::ProhibitPostfixControls]
24flowcontrol = warn die carp croak cluck confess goto exit plan skip
25
c5c82e5d 26[Documentation::PodSpelling]
34d4a77e 27stop_words =
c5c82e5d 28
aa1bf905
ES
29[-Documentation::RequirePodSections]
30
8389aa9c
ES
31# Too endemic for me to deal with right now
32[-ErrorHandling::RequireCheckingReturnValueOfEval]
33
c5c82e5d
ES
34[InputOutput::RequireCheckedSyscalls]
35functions = open close
36
34d4a77e
ES
37[Miscellanea::RequireRcsKeywords]
38keywords = URL Date Author Revision
39
8389aa9c
ES
40# Character length is not a proper measure of complexity.
41[-RegularExpressions::ProhibitComplexRegexes]
42
c5c82e5d
ES
43[RegularExpressions::ProhibitUnusualDelimiters]
44allow_all_brackets = 1
45
46[RegularExpressions::RequireBracesForMultiline]
47allow_all_brackets = 1
34d4a77e
ES
48
49# Tests are allowed to peek.
50[-Subroutines::ProtectPrivateSubs]
f59b9807
ES
51
52# Too endemic for me to deal with right now
53[-ValuesAndExpressions::ProhibitMagicNumbers]
d479645e 54