-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.perltidyrc
51 lines (37 loc) · 817 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
###
### Perl Tidy Config file
###
--check-syntax
--output-line-ending=unix
--maximum-line-length=0
--indent-columns=2
--continuation-indentation=2
--closing-token-indentation=0
--vertical-tightness=0
--vertical-tightness-closing=0
--comma-arrow-breakpoints=0
# Place opening bracket on same line
-nbl
# } else {
--cuddled-else
# don't outdent labels
-nola
# Blank line stuff
--maximum-consecutive-blank-lines=2
--noblanks-before-blocks
--blanks-before-subs
--blanks-before-comments
# Parentheses
--paren-tightness=2
--square-bracket-tightness=2
--brace-tightness=0
--block-brace-tightness=0
--space-keyword-paren
--nospace-terminal-semicolon
--nospace-for-semicolon
# Comments
--hanging-side-comments
--indent-block-comments
--opening-sub-brace-on-new-line
--stack-opening-tokens
--stack-closing-tokens