-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perltidyrc
43 lines (32 loc) · 969 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
# Formatting options for Perl::Tidy
#
#
# Common parameters
--character-encoding=utf8
##--encode-output-strings=utf8 # Option encode-output-strings does not take an argument
--encode-output-strings
--output-line-ending=unix
--add-terminal-newline
--standard-error-output
# run twice for stability
--iterations=2
# Indentation Control
--maximum-line-length=90
--indent-columns=4
--continuation-indentation=4
--extended-continuation-indentation # for data structures
--break-at-old-comma-breakpoints
--closing-token-indentation=0 # for closing brackets
# Tightness
--vertical-tightness=2
--brace-vertical-tightness=0
--brace-vertical-tightness-closing=0
--paren-tightness=1
--brace-tightness=1
--square-bracket-tightness=1
--block-brace-tightness=1
--nospace-for-semicolon
--nooutdent-long-quotes
--nooutdent-labels
# break before all operators
--want-break-before="% + - * / x != == >= <= =~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="