add option to limit automatic unsuspensions to a specific suspension reason type...
[freeside.git] / rt / .perlcriticrc
1 # This perlcritic policy file isn't to be taken as gospel. It's just a start
2 # As of now, it's mostly about disabling policies we're not able to follow or
3 # strongly disagree with
4 exclude = Subroutines::ProhibitExplicitReturnUndef  Modules::RequireFilenameMatchesPackage TestingAndDebugging::ProhibitNoStrict
5 color = 1
6 verbose = 7
7
8
9 # we don't unpack @_ right away as we mostly use named vars with defaults:
10 # sub foo {
11 #     my $self = shift;
12 #     my %args = ( default => 'value', ..., @_ );
13 # ...
14 [-Subroutines::RequireArgUnpacking]
15
16 # Readonly superiority is not convincing, especially considering
17 # that 'use constant' participates in constants folding during
18 # compilation
19 [-ValuesAndExpressions::ProhibitConstantPragma]
20
21 # brutal
22 [BuiltinFunctions::RequireBlockGrep]
23 severity = 1
24
25 [BuiltinFunctions::RequireBlockMap]
26 severity = 1