Skip to content

Commit 002a6ba

Browse files
committed
Override CodeLayout::RequireTrailingCommaAtNewline
This check from Perl::Critic::Pulp conflicts with my perltidy configuration.
1 parent ef0555e commit 002a6ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/data/perlcriticrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ exclude = Freenode::
5454
# everything.
5555
[-CodeLayout::ProhibitParensWithBuiltins]
5656

57+
# This rule conflicts with my perltidy configuration, which prefers to omit
58+
# the comma if there is a single argument so that the call will be collapsed
59+
# to a single line if it will fit.
60+
[-CodeLayout::RequireTrailingCommaAtNewline]
61+
5762
# This conflicts with Subroutines::ProhibitExplicitReturnUndef and
5863
# Subroutines::RequireFinalReturn, and I prefer the brevity of the simple
5964
# return statement. I don't think the empty list versus undef behavior is that

0 commit comments

Comments
 (0)