Skip to content

Commit cadfc94

Browse files
committed
perlcriticrc: Allow Cascading if-elsif chain up to 3.
1 parent 90936c9 commit cadfc94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.perlcriticrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ perltidyrc = .perltidyrc
177177
[ControlStructures::ProhibitCStyleForLoops]
178178

179179
[ControlStructures::ProhibitCascadingIfElse]
180+
max_elsif = 3
180181

181182
[ControlStructures::ProhibitDeepNests]
182183

0 commit comments

Comments
 (0)