Skip to content

Commit b4032ce

Browse files
committed
💄 Add Perl::Tidy for development
Adapt a .perltidyrc from Mojo, modified for long lines support.
1 parent c3e4a22 commit b4032ce

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.perltidyrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
-pbp # Start with Perl Best Practices
2+
-w # Show all warnings
3+
-iob # Ignore old breakpoints
4+
-l=130 # 130 characters per line
5+
-mbl=2 # No more than 2 blank lines
6+
-i=2 # Indentation is 2 columns
7+
-ci=2 # Continuation indentation is 2 columns
8+
-vt=0 # Less vertical tightness
9+
-pt=2 # High parenthesis tightness
10+
-bt=2 # High brace tightness
11+
-sbt=2 # High square bracket tightness
12+
-wn # Weld nested containers
13+
-isbc # Don't indent comments without leading space

cpanfile

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
requires 'Devel::PatchPerl';
22
requires 'YAML::XS';
3+
4+
on 'develop' => sub {
5+
requires 'Perl::Tidy';
6+
};

0 commit comments

Comments
 (0)