Debian Codegraph @

.perltidyrc

raw
1 # This file contains perltidy configuration directives that match the preferred
2 # Perl coding style for LCOV contributions.
3 #
4 # See https://perltidy.sourceforge.net
5
6 # I/O control
7 --add-terminal-newline # -atnl [=default]
8 --backup-file-extension="bak" # -bext="bak" [=default]
9 --character-encoding="utf8" # -enc="utf8"
10 --format="tidy" # -fmt="tidy" [=default]
11 --iterations=1 # -it=1 [=default]
12 --nologfile # -nlog [=default]
13 --output-line-ending="unix" # -ole="unix"
14 --noquiet # -nq [=default]
15 --nouse-unicode-gcstring # -ngcs [=default]
16 --nowarning-output # -nw [=default]
17
18 # Basic formatting options
19 --nocheck-syntax # -nsyn [=default]
20 --default-tabsize=8 # -dt=8 [=default]
21 --extended-syntax # -xs [=default]
22 --indent-columns=4 # -i=4 [=default]
23 --maximum-line-length=80 # -l=80 [=default]
24 --perl-syntax-check-flags="-c -T" # -pscf="-c -T" [=default]
25 --notabs # -nt [=default]
26
27 # HTML options
28 --html-entities # -hent [=default]
29 --html-table-of-contents # -toc [=default]
30
31 # pod2html options
32 --nohtml # --nohtml [=default]
33 --nopod2html # -npod
34
35 # Debugging
36 --fuzzy-line-length # -fll [=default]
37 --maximum-file-size-mb=10 # -maxfs=10 [=default]
38 --maximum-level-errors=1 # -maxle=1 [=default]
39 --maximum-unexpected-errors=0 # -maxue=0 [=default]
40 --nomemoize # -nmem
41 --recombine # --recombine [=default]
42 --short-concatenation-item-length=8 # -scl=8 [=default]
43 --noshow-options # -nopt [=default]
44 --timestamp # -ts [=default]
45
46 # Code indentation control
47 --nobrace-left-and-indent # -nbli [=default]
48 --closing-brace-indentation=0 # -cbi=0 [=default]
49 --closing-paren-indentation=0 # -cpi=0 [=default]
50 --closing-square-bracket-indentation=0 # -csbi=0 [=default]
51 --continuation-indentation=4 # -ci=4
52 --noextended-continuation-indentation # -nxci [=default]
53 --extended-line-up-parentheses # -xlp
54 --line-up-parentheses # -lp
55 --nooutdent-labels # -nola
56 --nooutdent-long-quotes # -nolq
57
58 # Whitespace control
59 --add-semicolons # -asc [=default]
60 --add-whitespace # -aws [=default]
61 --block-brace-tightness=0 # -bbt=0 [=default]
62 --brace-tightness=2 # -bt=2
63 --delete-old-whitespace # -dws
64 --delete-semicolons # -dsm [=default]
65 --function-paren-vertical-alignment # -fpva [=default]
66 --keyword-paren-inner-tightness=1 # -kpit=1 [=default]
67 --logical-padding # -lop [=default]
68 # HGC: prefer space around '.' operator.
69 # My eyesight is such that they disappear otherwise.
70 --want-left-space="." # -wls="."
71 --want-right-space="." # -wrs="."
72 --paren-tightness=2 # -pt=2
73 --nospace-for-semicolon # -nsfs
74 --space-prototype-paren=0 # -spp=0
75 --nospace-terminal-semicolon # -nsts
76 --square-bracket-tightness=2 # -sbt=2
77 --square-bracket-vertical-tightness=1 # -sbvt=1
78 --square-bracket-vertical-tightness-closing=0 # -sbvtc=0 [=default]
79 --notrim-qw # -ntqw
80 --valign-block-comments # -vbc [=default]
81 --valign-code # -vc [=default]
82 --valign-exclusion-list="if , . : ?" # -vxl="if , . : ?"
83 --valign-side-comments # -vsc [=default]
84
85 # Comment controls
86 --closing-side-comment-else-flag=0 # -csce=0 [=default]
87 --closing-side-comment-interval=6 # -csci=6 [=default]
88 --closing-side-comment-maximum-text=20 # -csct=20 [=default]
89 --closing-side-comments-balanced # -cscb [=default]
90 --code-skipping # -cs [=default]
91 --noformat-skipping # -nfs
92 --hanging-side-comments # -hsc [=default]
93 --indent-block-comments # -ibc [=default]
94 --minimum-space-to-comment=4 # -msc=4 [=default]
95 --non-indenting-braces # -nib [=default]
96 --nooutdent-long-comments # -nolc
97 --static-block-comments # -sbc [=default]
98 --nostatic-side-comments # -nssc [=default]
99
100 # Linebreak controls
101 --add-newlines # -anl [=default]
102 --block-brace-vertical-tightness=0 # -bbvt=0 [=default]
103 --brace-vertical-tightness=0 # -bvt=0 [=default]
104 --brace-vertical-tightness-closing=0 # -bvtc=0 [=default]
105 --break-after-all-operators # -baao
106 --break-after-labels=0 # -bal=0 [=default]
107 --break-before-hash-brace=0 # -bbhb=0 [=default]
108 --break-before-hash-brace-and-indent=0 # -bbhbi=0 [=default]
109 --break-before-paren=0 # -bbp=0 [=default]
110 --break-before-paren-and-indent=0 # -bbpi=0 [=default]
111 --break-before-square-bracket=0 # -bbsb=0 [=default]
112 --break-before-square-bracket-and-indent=0 # -bbsbi=0 [=default]
113 --cuddled-break-option=1 # -cbo=1 [=default]
114 --cuddled-else # -cuddled-blocks
115 --delete-old-newlines # -dnl [=default]
116 --one-line-block-nesting=0 # -olbn=0 [=default]
117 --one-line-block-semicolons=2 # -olbs=2
118 --opening-brace-always-on-right # -bar
119 --opening-sub-brace-on-new-line # -sbl
120 --paren-vertical-tightness=2 # -pvt=2
121 --paren-vertical-tightness-closing=2 # -pvtc=2
122 --space-backslash-quote=1 # -sbq=1 [=default]
123 --weld-nested-containers # -wn
124
125 # Controlling list formatting
126 --comma-arrow-breakpoints=5 # -cab=5 [=default]
127 --maximum-fields-per-table=80 # -mft=80
128
129 # Retaining or ignoring existing line breaks
130 --break-at-old-attribute-breakpoints # -boa [=default]
131 --break-at-old-keyword-breakpoints # -bok [=default]
132 --break-at-old-logical-breakpoints # -bol [=default]
133 --break-at-old-ternary-breakpoints # -bot [=default]
134
135 # Blank line control
136 --blank-lines-before-packages=1 # -blbp=1 [=default]
137 --blank-lines-before-subs=1 # -blbs=1 [=default]
138 --blanks-before-blocks # -bbb [=default]
139 --noblanks-before-comments # -nbbc
140 --keep-old-blank-lines=1 # -kbl=1 [=default]
141 --keyword-group-blanks-after=1 # -kgba=1 [=default]
142 --keyword-group-blanks-before=1 # -kgbb=1 [=default]
143 --nokeyword-group-blanks-delete # -nkgbd [=default]
144 --nokeyword-group-blanks-inside # -nkgbi [=default]
145 --keyword-group-blanks-repeat-count=0 # -kgbr=0 [=default]
146 --keyword-group-blanks-size=5 # -kgbs=5 [=default]
147 --long-block-line-count=8 # -lbl=8 [=default]
148 --maximum-consecutive-blank-lines=1 # -mbl=1 [=default]
149
150 # Other controls
151 --look-for-autoloader # -lal [=default]
152 --look-for-selfloader # -lsl [=default]
153 --pass-version-line # -pvl [=default]