File: .perlcriticrc

package info (click to toggle)
libpoe-component-schedule-perl 0.95-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 244 kB
  • sloc: perl: 650; makefile: 4
file content (32 lines) | stat: -rw-r--r-- 788 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
31
32
# Perl Critic config for POE::Component::Schedule
# Copyright (c) 2010 Olivier Mengué

# CVS is old school
[-Miscellanea::RequireRcsKeywords]

# See RT#57638, RT#57640
[-Subroutines::RequireFinalReturn]

# See RT#57638
[-Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes]

# Disable due to POE style
# RT#57639
[Subroutines::RequireArgUnpacking]
allow_subscripts = 1

# I like 'unless'
[-ControlStructures::ProhibitUnlessBlocks]

# I like postfix
[-ControlStructures::ProhibitPostfixControls]

# I like Perl's advanced boolean operators
[-ValuesAndExpressions::ProhibitMixedBooleanOperators]

[Variables::ProhibitPunctuationVars]
allow = $! $^O

# 'no warning' is useful, but must be restricted
[TestingAndDebugging::ProhibitNoWarnings]
allow_with_category_restriction = 1