summaryrefslogtreecommitdiff
path: root/src/tools/perlcheck/perlcriticrc
blob: bd848a9a6532ac0e72d125a434f019c29383d403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
######################################################################
#
# src/tools/perlcheck/perlcriticrc
#
# config  file for perlcritic for Postgres project
#
#####################################################################

severity = 5

theme = core

# print the policy name as well as the normal output
verbose = %f: %m at line %l, column %c.  %e.  ([%p] Severity: %s)\n

# Note: for policy descriptions see https://metacpan.org/release/Perl-Critic


# allow octal constants with leading zeros
[-ValuesAndExpressions::ProhibitLeadingZeros]

# for now raise severity of this to level 5
[Subroutines::RequireFinalReturn]
severity = 5