-
Notifications
You must be signed in to change notification settings - Fork 133
/
.perltidyrc
64 lines (54 loc) · 1.34 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
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
52
53
54
55
56
57
58
59
60
61
62
63
64
# Line length
--maximum-line-length=78
# Indentation
--indent-columns=4
--continuation-indentation=4
--closing-token-indentation=0
--noindent-closing-brace
--noline-up-parentheses
--nooutdent-keywords
--nooutdent-labels
# Whitespace
--paren-tightness=2
--square-bracket-tightness=2
--brace-tightness=1
--nospace-terminal-semicolon
--nospace-for-semicolon
--add-semicolons
--delete-semicolons
--add-whitespace
--delete-old-whitespace
--delete-old-newlines
--add-newlines
--notabs
# TODO: Whitespace around tokens, etc. Defaults are sane, though
# Comments
--indent-block-comments
--minimum-space-to-comment=4
--hanging-side-comments
--delete-closing-side-comments
--static-block-comments
# Line breaks
--nocuddled-else
--noopening-brace-on-new-line
--noopening-sub-brace-on-new-line
# Vertical tightness
--want-break-before="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
--noopening-brace-on-new-line
--noopening-sub-brace-on-new-line
--square-bracket-tightness=2
--brace-tightness=1
--block-brace-tightness=0
--nospace-terminal-semicolon
--nospace-for-semicolon
--nooutdent-long-lines
# List formatting
--comma-arrow-breakpoints=1
# Blank lines
--blanks-before-comments
--blanks-before-subs
--blanks-before-blocks
--long-block-line-count=8
--maximum-consecutive-blank-lines=2
# perltidy.ERR
#--standard-error-output