diff --git a/.perltidyrc b/.perltidyrc new file mode 100644 index 0000000..2f4c4b2 --- /dev/null +++ b/.perltidyrc @@ -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 diff --git a/cpanfile b/cpanfile index 59079e9..7de3599 100644 --- a/cpanfile +++ b/cpanfile @@ -1,2 +1,6 @@ requires 'Devel::PatchPerl'; requires 'YAML::XS'; + +on 'develop' => sub { + requires 'Perl::Tidy'; +};