File: .perlcriticrc

package info (click to toggle)
munin 2.0.25-1+deb8u3~bpo70+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 6,184 kB
  • sloc: perl: 11,818; sh: 3,545; java: 1,880; makefile: 767; python: 272
file content (30 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (10)
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
# note the policy causing each warning, so they can be turned off more easily
verbose  = [%p] %m at %f line %l, near '%r'\n

# no warnings if non-existant policies are mentioned in the config.
profile-strictness = quiet

### Turn off policies ##########################################################

[-Modules::RequireVersionVar]
[-ErrorHandling::RequireUseOfExceptions]
[-BuiltinFunctions::RequireBlockGrep]
[-BuiltinFunctions::RequireBlockMap]


### Configure policies #########################################################

[Variables::ProhibitPunctuationVars]
severity = 5
allow = $_ $!

[Miscellanea::RequireRcsKeywords]
severity = 5
keywords = Id

[CodeLayout::RequireTidyCode]
perltidyrc = perltidyrc

[CodeLayout::ProhibitTrailingWhitespace]
severity = 5