-
Notifications
You must be signed in to change notification settings - Fork 1
/
.perlcriticrc
45 lines (33 loc) · 1.31 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
; Bring it on!
severity = 2
; [Documentation::RequirePodSections]
; lib_sections = NAME | SYNOPSIS | AUTHOR
[ValuesAndExpressions::RequireNumberSeparators]
min_value = 100000
[Variables::ProhibitPunctuationVars]
allow = $@ $!
; I have to figure out whether/how to use this with git.
[-Miscellanea::RequireRcsKeywords]
; I don't agree with these policies, and disabled them.
[-Documentation::RequirePodAtEnd]
[-ControlStructures::ProhibitUnlessBlocks]
[-ControlStructures::ProhibitPostfixControls]
[-Modules::ProhibitMultiplePackages]
[-References::ProhibitDoubleSigils]
[-RegularExpressions::RequireExtendedFormatting]
[-RegularExpressions::RequireLineBoundaryMatching]
[-RegularExpressions::RequireDotMatchAnything]
[-Subroutines::RequireFinalReturn]
[-Subroutines::ProhibitExplicitReturnUndef]
; This does nothing to distinguish prototypes from signatures, so it's gone.
[-Subroutines::ProhibitSubroutinePrototypes]
[-ClassHierarchies::ProhibitExplicitISA]
[-Bangs::ProhibitFlagComments]
[-Bangs::ProhibitCommentedOutCode]
; These policies are replaced by policies in Perl-Critic-Lax
; [-BuiltinFunctions::ProhibitComplexMappings] ; not yet released
[-BuiltinFunctions::ProhibitStringyEval]
[-Modules::RequireEndWithOne]
[-Modules::RequireExplicitPackage]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[Tics::ProhibitLongLines]