-
Notifications
You must be signed in to change notification settings - Fork 195
/
.perlcriticrc
40 lines (31 loc) · 1.11 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
# please alpha sort config items as you add them
severity = 5
verbose = 11
theme = core
[-ControlStructures::ProhibitPostfixControls]
[-Documentation::RequirePodSections]
[-InputOutput::ProhibitInteractiveTest]
[-Modules::RequireVersionVar]
[-RegularExpressions::RequireDotMatchAnything]
[-RegularExpressions::RequireExtendedFormatting]
[-RegularExpressions::RequireLineBoundaryMatching]
[-Subroutines::ProhibitExplicitReturnUndef]
[-TestingAndDebugging::ProhibitNoStrict]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-Variables::ProhibitPunctuationVars]
# doesn't understand signatures
[-Subroutines::ProhibitSubroutinePrototypes]
[CodeLayout::RequireTrailingCommas]
severity = 4
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = MetaCPAN::Moose Mojo::Base Test::Routine
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = MetaCPAN::Moose Mojo::Base Test::Routine
[ValuesAndExpressions::ProhibitEmptyQuotes]
severity = 4
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
allow_if_string_contains_single_quote = 1
allow = qq{} qq[]
severity = 4
[ValuesAndExpressions::ProhibitNoisyQuotes]
severity = 4