mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Print policy name in perlcritic messages
This makes it easier to do a web search for details of the policy that's been violated, as well as displaying the name that might be needed for a policy override. Various perlcritic settings changes are being discussed, but this one should be uncontroversial.
This commit is contained in:
parent
7a6b017b34
commit
8930e43ecd
@ -10,6 +10,12 @@ 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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user