Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 37 lines (31 sloc) 1.069 kb
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
1 # This perltidy run control file contains what is to be considered an
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
2 # approximation of the code formatting conventions used by the Munin project.
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
3 #
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
4 # The munin source code is a mix of several different coding styles. So an
5 # important use of this file is to tidy up old cruft.
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
6 #
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
7 # It is not mandated that code must be run through perltidy with these settings
8 # before every commit, as I believe the best formatting is done by humans, but
9 # the formatting should be close to what a perltidy run would yield.
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
10 #
11 # The content is negotiable.
12 #
13 # Use: perltidy --profile=./perltidyrc [FILE]...
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
14 #
15 # See http://perltidy.sourceforge.net/perltidy.html for option documentation
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
16
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
17 # I/O Control
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
18 --backup-and-modify-in-place
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
19
20 # Basic Options
21 --maximum-line-length=100
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
22 --output-line-ending=unix
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
23
24 # Code Indentation Control
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
25 --nooutdent-long-lines
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
26
27 # Line Break Control
28 --break-before-all-operators
ed5267f Added a perltidy profile
Kjell-Magne Øierud authored
29 --nooutdent-long-comments
30 --opening-brace-always-on-right
31 --opening-token-right
32 --stack-closing-tokens
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
33 --stack-opening-tokens
3864ad5 a few tweaks to the perltidy rules.
Matthew Boyle authored
34
70a8cc1 @ssm Update perltidyrc to proposed style
ssm authored
35 # Blank Line Control
36 --maximum-consecutive-blank-lines=2
Something went wrong with that request. Please try again.