💄 Add Perl::Tidy for development
Adapt a .perltidyrc from Mojo, modified for long lines support.
This commit is contained in:
parent
c3e4a229b3
commit
b4032ceb63
2 changed files with 17 additions and 0 deletions
13
.perltidyrc
Normal file
13
.perltidyrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
-pbp # Start with Perl Best Practices
|
||||
-w # Show all warnings
|
||||
-iob # Ignore old breakpoints
|
||||
-l=130 # 130 characters per line
|
||||
-mbl=2 # No more than 2 blank lines
|
||||
-i=2 # Indentation is 2 columns
|
||||
-ci=2 # Continuation indentation is 2 columns
|
||||
-vt=0 # Less vertical tightness
|
||||
-pt=2 # High parenthesis tightness
|
||||
-bt=2 # High brace tightness
|
||||
-sbt=2 # High square bracket tightness
|
||||
-wn # Weld nested containers
|
||||
-isbc # Don't indent comments without leading space
|
4
cpanfile
4
cpanfile
|
@ -1,2 +1,6 @@
|
|||
requires 'Devel::PatchPerl';
|
||||
requires 'YAML::XS';
|
||||
|
||||
on 'develop' => sub {
|
||||
requires 'Perl::Tidy';
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue