-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.perltidyrc
36 lines (29 loc) · 1011 Bytes
/
.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
26
27
28
29
30
31
32
33
34
35
# Perl Best Practices (plus errata) .perltidyrc file
#-pt=1 # Medium parenthesis tightness
#-bt=1 # Medium brace tightness
#-sbt=1 # Medium square bracket tightness
#-bbt=1 # Medium block brace tightness
--standard-error-output # errors to stderr, not a file
--warning-output # Show warnings
--maximum-consecutive-blank-lines=3 # Default is 1
--nohanging-side-comments # Troublesome for commented out code
--break-after-all-operators
--backup-and-modify-in-place
--maximum-line-length=100
--indent-columns=4
--iterations=2
--continuation-indentation=2
--no-outdent-long-lines
--no-outdent-labels
--paren-tightness=1
--no-space-for-semicolon
--indent-spaced-block-comments
--minimum-space-to-comment=2
--static-block-comments
--static-side-comments
--opening-paren-right
--opening-hash-brace-right
--opening-square-bracket-right
# these two are the default, but I might want to tweak them.
#--vertical-tightness=0
#--vertical-tightness-closing=0