-
Notifications
You must be signed in to change notification settings - Fork 2
/
.perltidyrc
34 lines (28 loc) · 903 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
# Search::Typesense settings for Perl::Tidy
#
# Common parameters
--break-at-old-comma-breakpoints
--maximum-line-length=78
--indent-columns=4
--continuation-indentation=2
--standard-error-output
--closing-token-indentation=0 # for closing brackets
--utf8
# 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="
# run at least twice to improve stability
--iterations=2
# Ignore DBIC-generated content
--format-skipping-begin='#(<<<| DO NOT MODIFY THE FIRST PART OF THIS FILE)'
--format-skipping-end='#(>>>| DO NOT MODIFY THIS OR ANYTHING ABOVE!)'