summaryrefslogtreecommitdiffstats
path: root/src/tools/perlcheck/perlcriticrc
blob: e230111b232bf6d9ac59fa39df124858bbfd1449 (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]

# insist on use of the warnings pragma
[TestingAndDebugging::RequireUseWarnings]
severity = 5