~ubuntu-branches/ubuntu/trusty/libtest-roo-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to perlcritic.rc

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2014-01-14 19:25:11 UTC
  • Revision ID: package-import@ubuntu.com-20140114192511-9ycl4dc1zgamfnek
Tags: upstream-1.002
ImportĀ upstreamĀ versionĀ 1.002

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
severity = 5
 
2
verbose = 8
 
3
 
 
4
[Variables::ProhibitPunctuationVars]
 
5
allow = $@ $!
 
6
 
 
7
[TestingAndDebugging::ProhibitNoStrict]
 
8
allow = refs
 
9
 
 
10
# Turn these off
 
11
[-BuiltinFunctions::ProhibitStringyEval]
 
12
[-ControlStructures::ProhibitPostfixControls]
 
13
[-ControlStructures::ProhibitUnlessBlocks]
 
14
[-Documentation::RequirePodSections]
 
15
[-InputOutput::ProhibitInteractiveTest]
 
16
[-References::ProhibitDoubleSigils]
 
17
[-RegularExpressions::RequireExtendedFormatting]
 
18
[-InputOutput::ProhibitTwoArgOpen]
 
19
[-Modules::ProhibitEvilModules]
 
20
 
 
21
# Turn this on
 
22
[-Lax::ProhibitStringyEval::ExceptForRequire]
 
23
 
 
24
# Customize
 
25
[Lax::RequireExplicitPackage::ExceptForPragmata]
 
26
allowed_pragmata = diagnostics feature perlversion strict warnings strictures
 
27
 
 
28
[TestingAndDebugging::RequireUseStrict]
 
29
equivalent_modules = strictures