-
Notifications
You must be signed in to change notification settings - Fork 20
/
.perlcriticrc
47 lines (30 loc) · 977 Bytes
/
.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
severity = stern
[ControlStructures::ProhibitCascadingIfElse]
severity = stern
[-ErrorHandling::RequireCheckingReturnValueOfEval]
[-InputOutput::RequireBriefOpen]
[-Miscellanea::ProhibitUselessNoCritic]
[-TestingAndDebugging::ProhibitNoWarnings]
[-ValuesAndExpressions::ProhibitConstantPragma]
[-Variables::ProhibitPackageVars]
[InputOutput::RequireCheckedOpen]
severity = stern
[InputOutput::ProhibitBacktickOperators]
only_in_void_context = 1
[NamingConventions::ProhibitAmbiguousNames]
forbid = bases close contract left no right second set
[Subroutines::ProhibitExcessComplexity]
max_mccabe = 30
[Subroutines::ProhibitManyArgs]
severity = stern
max_arguments = 6
[Subroutines::ProhibitUnusedPrivateSubroutines]
severity = stern
[Subroutines::ProtectPrivateSubs]
severity = stern
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
severity = harsh
[Variables::ProhibitUnusedVariables]
severity = stern
[Variables::ProhibitReusedNames]
severity = stern