Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8930e43

Browse files
committed
Print policy name in perlcritic messages
This makes it easier to do a web search for details of the policy that'sbeen violated, as well as displaying the name that might be needed for apolicy override.Various perlcritic settings changes are being discussed, but this oneshould be uncontroversial.
1 parent7a6b017 commit8930e43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/tools/perlcheck/perlcriticrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ severity = 5
1010

1111
theme = core
1212

13+
# print the policy name as well as the normal output
14+
verbose = %f: %m at line %l, column %c. %e. ([%p] Severity: %s)\n
15+
16+
# Note: for policy descriptions see https://metacpan.org/release/Perl-Critic
17+
18+
1319
# allow octal constants with leading zeros
1420
[-ValuesAndExpressions::ProhibitLeadingZeros]
1521

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp