Skip to content

Commit b2429f6

Browse files
simbabqueoalders
authored andcommitted
allow 2 empty consecutive lines in code
When we build our dist, POD::Weaver cuts out POD blocks on top of every method and puts it all at the bottom of the file. But it leaves behind the two empty lines of padding, which cannot be disabled in Weaver. To mitigate that, we will allow having two empty lines. It might lead to some code getting a bit wider, but the alternative solutions all seemed much more badder.
1 parent 798644a commit b2429f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

perltidyrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
--blank-lines-before-packages=0
22
--iterations=2
33
--no-outdent-long-comments
4+
5+
# POD::Weaver doesn't cut the empty lines around POD that gets moved to the
6+
# bottom, so we need to allow two lines.
7+
--maximum-consecutive-blank-lines=2
8+
49
-b
510
-bar
611
-boc

0 commit comments

Comments
 (0)