-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.perltidyrc
26 lines (24 loc) · 1.05 KB
/
.perltidyrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Mojolicious settings
-pbp # Start with Perl Best Practices
-w # Show all warnings
-iob # Ignore old breakpoints
-l=90 # 90 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
-isbc # Don't indent comments without leading space
# Our additional settings
-sac # --stack-all-containers is an abbreviation for -sot -sct.
-wn # --weld-nested-containers
-nst # --nostandard-output
-utf8 # Encoding of both the input and output character streams
-b # Modify files in place
-bext='/' # and delete the originals if there are no error.
-nbl # Opening brace on the same line as the keyword introducing it
--nodelete-semicolons #needed because of a bug in Perl::Critic not recognising
# private subrotines if there is no semicolumn at the closing curly brace. It
# also reports arbitrary nonsense.