forked from beyondgrep/ack2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
perlcriticrc
44 lines (30 loc) · 1.21 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
verbose = %f:%l:%c %m (%p)\n
[-CodeLayout::ProhibitParensWithBuiltins]
[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0
[-CodeLayout::RequireTidyCode]
# Never works for me.
[-ControlStructures::ProhibitPostfixControls]
[-Documentation::RequirePodAtEnd]
[-Documentation::RequirePodSections]
[-ErrorHandling::RequireCarping]
[-InputOutput::ProhibitInteractiveTest]
[-InputOutput::ProhibitBacktickOperators]
[-InputOutput::RequireCheckedSyscalls]
functions = open opendir read readline readdir close closedir
[-Miscellanea::RequireRcsKeywords]
[-Modules::RequireVersionVar]
[-RegularExpressions::RequireDotMatchAnything]
[-RegularExpressions::RequireExtendedFormatting]
[-RegularExpressions::RequireLineBoundaryMatching]
[Subroutines::RequireArgUnpacking]
[-Subroutines::ProhibitBuiltinHomonyms]
# We have plenty of funcs that we know are homonyms, but that's OK
[-TestingAndDebugging::ProhibitNoStrict]
[-TestingAndDebugging::ProhibitNoWarnings]
# If I've turned off warnings or strict, I know why I'm doing it.
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-ValuesAndExpressions::ProhibitMagicNumbers]
[-Variables::ProhibitPackageVars]
[-Variables::ProhibitPunctuationVars]