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