Commit 8930e43e authored by Andrew Dunstan's avatar Andrew Dunstan

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.
parent 7a6b017b
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment