-
Notifications
You must be signed in to change notification settings - Fork 8
/
.perlcriticrc
31 lines (22 loc) · 895 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
severity = brutal
color = 1
[ValuesAndExpressions::RequireNumberSeparators]
min_value = 100000
[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print say
[Documentation::RequirePodSections]
lib_sections = NAME | SYNOPSIS | AUTHOR | VERSION | COPYRIGHT AND LICENSE
# dzil puts begin block before strictures. Using moose anyway
[-TestingAndDebugging::RequireUseStrict]
# complains about the { __PACKAGE__::VERSION = blah } block dzil puts at the top
[-TestingAndDebugging::RequireUseWarnings]
# allowing ifs because I prefer it for debug logging
[ControlStructures::ProhibitPostfixControls]
allow = if
# 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]