Skip to content

Commit aff19bf

Browse files
committed
disable critic rule prohibiting prototypes
PPI and thus Perl::Critic don't understand signatures, so the rule ends up prohibiting signatures as well
1 parent 491e640 commit aff19bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .perlcriticrc

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ theme = core
1616
[-ValuesAndExpressions::ProhibitNoisyQuotes]
1717
[-Variables::ProhibitPunctuationVars]
1818

19+
# doesn't understand signatures
20+
[-Subroutines::ProhibitSubroutinePrototypes]
21+
1922
[CodeLayout::RequireTrailingCommas]
2023
severity = 4
2124

0 commit comments

Comments
 (0)