-
Notifications
You must be signed in to change notification settings - Fork 0
/
.perltidyrc
36 lines (29 loc) · 944 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
# https://github.com/menozero/perltidy-prettier-style
-w # show all warnings
# -utf8
# -ole=unix
# -it=2
#-l=80 # Prettier print-width
-i=2 # Prettier tab-width (default 4)
#-ci=2 # default
-fsb='# prettier-ignore-start'
-fse='# prettier-ignore-end'
# horizontal
-nsfs # no space for semicolon in for
-tso # tight secret operators
-pt=2 # Prettier paren tightness (default 1)
-sbt=2 # Prettier square bracket tightness (default 1)
#-bt=1 # Prettier brace tightness
-bbt=1 # Prettier block brace tightness (default 0)
-bar # opening brace always on right
# vertical
#-iob # ? ignore old breakpoints
#-vt=0 # vertical tightness
-nce # Prettier no cuddled else
-wn # weld nested containers
-sot # stack opening tokens
#-mbl=1 # Prettier maximum consecutive blank lines
# comments
-nbbc # no blanks before comments (?)
-isbc # indent (only) spaced block comments
# TODO need more tests with comments