File: .perlcriticrc

package info (click to toggle)
munin 2.0.49-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,160 kB
  • sloc: perl: 11,456; java: 1,924; sh: 1,806; makefile: 841; python: 267
file content (30 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (11)
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