forked from bucardo/bucardo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perlcriticrc
86 lines (63 loc) · 2.43 KB
/
.perlcriticrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## perlcritic file for Bucardo
## Usage: perlcritic -profile <thisfile> <scriptname>
verbose = 8
severity = 1
[-Bangs::ProhibitFlagComments]
[-Bangs::ProhibitNumberedNames]
[-Bangs::ProhibitVagueNames]
[-BuiltinFunctions::ProhibitBooleanGrep]
[-BuiltinFunctions::ProhibitComplexMappings]
[-CodeLayout::ProhibitHardTabs]
[-CodeLayout::ProhibitParensWithBuiltins]
[-CodeLayout::RequireTidyCode]
[-CodeLayout::RequireUseUTF8]
[-ControlStructures::ProhibitCascadingIfElse]
[-ControlStructures::ProhibitCStyleForLoops]
[-ControlStructures::ProhibitDeepNests]
[-ControlStructures::ProhibitPostfixControls]
[-ControlStructures::ProhibitUnlessBlocks]
[-Documentation::PodSpelling]
[-Documentation::RequirePodSections]
[-Documentation::RequirePODUseEncodingUTF8]
[-ErrorHandling::RequireCarping]
[-ErrorHandling::RequireUseOfExceptions]
[-InputOutput::ProhibitBacktickOperators]
[-InputOutput::RequireBracedFileHandleWithPrint]
[-Lax::ProhibitComplexMappings::LinesNotStatements]
[-Lax::ProhibitEmptyQuotes::ExceptAsFallback]
[-Miscellanea::ProhibitTies]
[-Miscellanea::RequireRcsKeywords]
[-Modules::PerlMinimumVersion]
[-Modules::ProhibitExcessMainComplexity]
[-Modules::ProhibitMultiplePackages]
## Cannot handle multiple packages in one file
[-Modules::RequireExplicitInclusion]
[-References::ProhibitDoubleSigils]
[-RegularExpressions::RequireExtendedFormatting]
[-RegularExpressions::RequireLineBoundaryMatching]
## A shame, but 'has' is confusing it
[-Subroutines::ProhibitCallsToUndeclaredSubs]
[-Subroutines::ProhibitExcessComplexity]
[-Subroutines::ProhibitNestedSubs]
[-Subroutines::RequireArgUnpacking]
[-TestingAndDebugging::ProhibitNoWarnings]
[-Tics::ProhibitLongLines]
[-ValuesAndExpressions::ProhibitAccessOfPrivateData]
[-ValuesAndExpressions::ProhibitCommaSeparatedStatements]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-ValuesAndExpressions::ProhibitImplicitNewlines]
[-ValuesAndExpressions::ProhibitInterpolationOfLiterals]
[-ValuesAndExpressions::ProhibitMixedBooleanOperators]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitVersionStrings]
[-ValuesAndExpressions::RequireNumberSeparators]
[-ValuesAndExpressions::RestrictLongStrings]
[-Variables::ProhibitLocalVars]
[-Variables::ProhibitPackageVars]
[-Variables::ProhibitPunctuationVars]
[-Variables::RequireLocalizedPunctuationVars]
[-Modules::RequireVersionVar]
[CodeLayout::ProhibitTrailingWhitespace]
severity = 5
[Subroutines::ProhibitBuiltinHomonyms]
severity = 5