/
perlcritic.conf
75 lines (52 loc) · 1.61 KB
/
perlcritic.conf
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
verbose = 3
# not all the profiles listed here are installed by default, even if you have
# Perl::Critic. Shhhh.
profile-strictness = quiet
[BuiltinFunctions::ProhibitStringySplit]
add_themes = parrot
[CodeLayout::ProhibitDuplicateCoda]
add_themes = parrot
[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0
add_themes = parrot
[CodeLayout::ProhibitTrailingWhitespace]
add_themes = parrot
[CodeLayout::RequireTidyCode]
perltidyrc = tools/dev/perltidy.conf
add_themes = extra
[CodeLayout::UseParrotCoda]
add_themes = parrot
[InputOutput::ProhibitBarewordFileHandles]
add_themes = parrot
[InputOutput::ProhibitTwoArgOpen]
add_themes = parrot
[NamingConventions::ProhibitAmbiguousNames]
# remove abstract from the list of forbidden names
forbid = bases close contract last left no record right second set
add_themes = extra
[Subroutines::ProhibitBuiltinHomonyms]
add_themes = extra
[Subroutines::ProhibitExplicitReturnUndef]
add_themes = parrot
[Subroutines::ProhibitSubroutinePrototypes]
add_themes = parrot
[Subroutines::RequireFinalReturn]
add_themes = extra
[TestingAndDebugging::MisplacedShebang]
add_themes = parrot
[TestingAndDebugging::ProhibitShebangWarningsArg]
add_themes = parrot
[TestingAndDebugging::RequirePortableShebang]
add_themes = parrot
[TestingAndDebugging::RequireUseStrict]
add_themes = parrot
[TestingAndDebugging::RequireUseWarnings]
add_themes = parrot
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
add_themes = extra
[Variables::ProhibitConditionalDeclarations]
add_themes = parrot
[Bangs::ProhibitFlagComments]
add_themes = extra
[Bangs::ProhibitRefProtoOrProto]
add_themes = extra