File: perlcriticrc_t

package info (click to toggle)
libpoe-component-syndicator-perl 0.06-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 260 kB
  • sloc: perl: 669; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (3)
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
# level 3 is a nice compromise
severity = 3
verbose  = 3

# these policies are either too anal, demand additional dependencies,
# or inhibit backwards-compatability
[-RegularExpressions::RequireExtendedFormatting]

[-ValuesAndExpressions::ProhibitConstantPragma]

[-Variables::ProhibitPackageVars]
[-Variables::RequireLocalizedPunctuationVars]

[-BuiltinFunctions::ProhibitStringyEval]

[-Subroutines::ProhibitBuiltinHomonyms]
[-Subroutines::ProhibitUnusedPrivateSubroutines]
[-Subroutines::RequireArgUnpacking]

[-ErrorHandling::RequireCarping]
[-ErrorHandling::RequireCheckingReturnValueOfEval]

# more policies we don't care about in tests
[-InputOutput::ProhibitExplicitStdin]
[-InputOutput::RequireBriefOpen]
[-Modules::RequireEndWithOne]
[-Modules::RequireExplicitPackage]
[-Modules::RequireFilenameMatchesPackage]
[-Subroutines::RequireFinalReturn]
[-ControlStructures::ProhibitCascadingIfElse]