File: perltidyrc

package info (click to toggle)
munin 2.0.25-1+deb8u3~bpo70+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 6,184 kB
  • sloc: perl: 11,818; sh: 3,545; java: 1,880; makefile: 767; python: 272
file content (42 lines) | stat: -rw-r--r-- 1,343 bytes parent folder | download | duplicates (10)
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
# This perltidy run control file contains what is to be considered an
# approximation of the code formatting conventions used by the Munin
# project.
#
# The munin source code is a mix of several different coding
# styles. So an important use of this file is to tidy up old cruft.
#
# It is not mandated that code must be run through perltidy with these
# settings before every commit, as I believe the best formatting is
# done by humans, but the formatting should be close to what a
# perltidy run would yield.
#
# The content is negotiable.
#
# Use: perltidy --profile=./perltidyrc [FILE]...

--backup-and-modify-in-place
--output-line-ending=unix
--continuation-indentation=4   # Don't really like these, but setting
                               # it to 0 is not good either ...
--nooutdent-long-lines
--paren-tightness=2
--square-bracket-tightness=1
--brace-tightness=2
--block-brace-tightness=0
--nospace-for-semicolon
--nooutdent-long-comments
# Default: --nocuddled-else
# Default: --noopeningbrace-on-new-line
--opening-brace-always-on-right
--opening-token-right
--stack-opening-tokens
--stack-closing-tokens
--break-before-all-operators
--maximum-consecutive-blank-lines=2
--opening-hash-brace-right
--maximum-line-length=0
--indent-columns=4
--opening-sub-brace-on-new-line
--keep-old-blank-lines=1
--minimum-space-to-comment=2