-
Notifications
You must be signed in to change notification settings - Fork 0
/
perlcritic.rc
45 lines (33 loc) · 1.41 KB
/
perlcritic.rc
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
severity = 1
color = 1
verbose = 9
theme = (bangs || bugs || complexity || core || cosmetic || danger || lax || maintenance || moose || pbp || performance || portability || pulp || readability || security || strictersubs || swift || tests || unicode) && (! (compatibility || deprecated || editor || more || nits || tics))
[Bangs::ProhibitVagueNames]
names = bar bat data foo info item obj object temp tmp val var
[BuiltinFunctions::ProhibitStringyEval]
allow_includes = 1
[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0
[Compatibility::PerlMinimumVersionAndWhy]
above_version = 5.008
[Compatibility::PodMinimumVersion]
above_version = 5.008
[Lax::RequireExplicitPackage::ExceptForPragmata]
allowed_pragmata = diagnostics feature perlversion strict warnings utf8
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 10
[Subroutines::RequireArgUnpacking]
short_subroutine_statements = 1
[-Bangs::ProhibitCommentedOutCode]
[-CodeLayout::RequireTidyCode]
[-ControlStructures::ProhibitPostfixControls]
[-ControlStructures::ProhibitUnlessBlocks]
[-ControlStructures::ProhibitUntilBlocks]
[-Documentation::PodSpelling]
[-Documentation::RequirePodSections]
[-ErrorHandling::RequireCarping]
[-Miscellanea::RequireRcsKeywords]
[-Modules::RequireExplicitInclusion]
[-Modules::RequireExplicitPackage]
[-References::ProhibitDoubleSigils]
[-Subroutines::ProhibitCallsToUndeclaredSubs]