-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perlcriticrc
49 lines (34 loc) · 1.32 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
severity = brutal
color = 1
[ValuesAndExpressions::RequireNumberSeparators]
min_value = 100000
[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print say
# assembled by pod::weaver
[-Documentation::RequirePodSections]
# dzil puts begin block before strictures. Using moose anyway
[-TestingAndDebugging::RequireUseStrict]
# dzil
[-Modules::RequireVersionVar]
# complains about the { __PACKAGE__::VERSION = blah } block dzil puts at the top
#[-TestingAndDebugging::RequireUseWarnings]
[-ControlStructures::ProhibitPostfixControls]
# handles elsewhere
[-Documentation::PodSpelling]
# pod::weaver always sticks it at the end, but before __END__
[-Documentation::RequirePodAtEnd]
# I prefer version strings and don't care about old perls
[-ValuesAndExpressions::ProhibitVersionStrings]
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 12
# doesn't know about Moo builders, etc
[-Subroutines::ProhibitUnusedPrivateSubroutines]
# don't care for these
[-RegularExpressions::RequireLineBoundaryMatching]
[-RegularExpressions::RequireDotMatchAnything]
[-Variables::ProhibitPunctuationVars]
# this is useful with Moo(se)? for triggers, coercions, etc
[-Subroutines::RequireArgUnpacking]
# use experimental 'signatures' perl > 5.20
[-Subroutines::ProhibitSubroutinePrototypes]