forked from metacpan/metacpan-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perlcriticrc
56 lines (32 loc) · 1.21 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
# please alpha sort config items as you add them
only = 1
verbose = 11
program-extensions = .t
[BuiltinFunctions::ProhibitSleepViaSelect]
[BuiltinFunctions::ProhibitStringyEval]
[BuiltinFunctions::RequireGlobFunction]
[ClassHierarchies::ProhibitOneArgBless]
[CodeLayout::RequireTrailingCommas]
[ControlStructures::ProhibitMutatingListFunctions]
[InputOutput::ProhibitBarewordFileHandles]
[InputOutput::ProhibitInteractiveTest]
[InputOutput::ProhibitTwoArgOpen]
[InputOutput::RequireEncodingWithUTF8Layer]
[Modules::ProhibitEvilModules]
[Modules::RequireBarewordIncludes]
[Modules::RequireFilenameMatchesPackage]
[Subroutines::ProhibitNestedSubs]
[Subroutines::ProhibitReturnSort]
[Subroutines::ProhibitSubroutinePrototypes]
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = MetaCPAN::Moose
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = MetaCPAN::Moose
[ValuesAndExpressions::ProhibitEmptyQuotes]
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
allow_if_string_contains_single_quote = 1
allow = qq{} qq[]
[ValuesAndExpressions::ProhibitLeadingZeros]
[ValuesAndExpressions::ProhibitNoisyQuotes]
[Variables::ProhibitConditionalDeclarations]
[Variables::RequireLexicalLoopIterators]