-
Notifications
You must be signed in to change notification settings - Fork 4
/
.perltidyrc
79 lines (79 loc) · 1.93 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Basic Options
--indent-columns=2
--maximum-line-length=100
--variable-maximum-line-length
--default-tabsize=2
--check-syntax
-perl-syntax-check-flags='-c'
--output-line-ending='unix'
--iterations=4
--converge
# Code Indentation Control
--continuation-indentation=2
--starting-indentation-level=0
--noline-up-parentheses
--closing-token-indentation=0
--noindent-closing-paren
--noindent-closing-brace
--nooutdent-long-quotes
--nooutdent-long-lines
--nooutdent-labels
--nooutdent-keywords
# Whitespace Control
--paren-tightness=1
--square-bracket-tightness=1
--brace-tightness=1
--block-brace-tightness=0
--nospace-terminal-semicolon
--nospace-for-semicolon
--add-semicolons
--delete-semicolons
--add-whitespace
--delete-old-whitespace
--nospace-keyword-paren
--nospace-function-paren
--trim-qw
# Comment Controls
--indent-block-comments
--indent-spaced-block-comments
--nooutdent-long-comments
--minimum-space-to-comment=2
--ignore-side-comment-lengths
--hanging-side-comments
--noclosing-side-comments
--delete-closing-side-comments
--static-block-comments
--nooutdent-static-block-comments
# Skipping Selected Sections of Code
--format-skipping
--format-skipping-begin='#<<<.*'
--format-skipping-end='#>>>.*'
# Line Break Control
--nocuddled-else
--noopening-brace-on-new-line
--noopening-sub-brace-on-new-line
--noopening-anonymous-sub-brace-on-new-line
--nobrace-left-and-indent
--noopening-brace-always-on-right
--opening-token-right
--vertical-tightness=0
--vertical-tightness-closing=0
--stack-opening-tokens
--stack-closing-tokens
--delete-old-newlines
--add-newlines
--break-at-old-comma-breakpoints
--maximum-fields-per-table=4
--comma-arrow-breakpoints=5
# Retaining or Ignoring Existing Line Breaks
# Blank Line Control
--blanks-before-comments
--blank-lines-before-subs=1
--blank-lines-before-packages=2
--blanks-before-subs
--blanks-before-blocks
--long-block-line-count=8
--maximum-consecutive-blank-lines=2
--keep-old-blank-lines=1
# Styles
# Other Controls