forked from metabrainz/musicbrainz-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perlcriticrc
33 lines (24 loc) · 884 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
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]
[Subroutines::ProhibitReturnSort]
[TestingAndDebugging::ProhibitNoStrict]
allow=refs
[TooMuchCode::ProhibitUnusedImport]
[TooMuchCode::ProhibitUnusedInclude]
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
[ValuesAndExpressions::ProhibitLeadingZeros]
[ValuesAndExpressions::ProhibitMismatchedOperators]
[ValuesAndExpressions::ProhibitMixedBooleanOperators]
[Variables::ProhibitUnusedVarsStricter]
allow_unused_subroutine_arguments = 1
[Variables::RequireLexicalLoopIterators]