forked from metabrainz/musicbrainz-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perlcriticrc
37 lines (27 loc) · 994 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
32
33
34
35
36
37
only=1
severity=1
[BuiltinFunctions::ProhibitBooleanGrep]
[BuiltinFunctions::ProhibitLvalueSubstr]
[BuiltinFunctions::ProhibitShiftRef]
[BuiltinFunctions::ProhibitStringyEval]
allow_includes=1
[CodeLayout::ProhibitHardTabs]
[CodeLayout::ProhibitTrailingWhitespace]
[CodeLayout::RequireConsistentNewlines]
[ControlStructures::ProhibitUnreachableCode]
[Modules::RequireFilenameMatchesPackage]
[Moose::ProhibitNewMethod]
[Subroutines::ProhibitReturnSort]
[TestingAndDebugging::ProhibitNoStrict]
allow=refs
[TestingAndDebugging::RequireUseStrict]
[TestingAndDebugging::RequireUseWarnings]
[TooMuchCode::ProhibitUnusedImport]
[TooMuchCode::ProhibitUnusedInclude]
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
[ValuesAndExpressions::ProhibitLeadingZeros]
[ValuesAndExpressions::ProhibitMismatchedOperators]
[ValuesAndExpressions::ProhibitMixedBooleanOperators]
[Variables::ProhibitUnusedVarsStricter]
allow_unused_subroutine_arguments = 1
[Variables::RequireLexicalLoopIterators]