Skip to content
Browse files

a few tweaks to the perltidy rules.

  • Loading branch information...
1 parent 4532839 commit 3864ad5cfcd4f03635f2dde6b7dfcc3983a2cb4a Matthew Boyle committed Jun 1, 2010
Showing with 11 additions and 4 deletions.
  1. +11 −4 perltidyrc
View
15 perltidyrc
@@ -6,7 +6,7 @@
# 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 formating is
+# 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.
#
@@ -16,13 +16,13 @@
--backup-and-modify-in-place
--output-line-ending=unix
---continuation-indentation=4 # Don't really like these, but setting
+--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=2
+--square-bracket-tightness=1
--brace-tightness=2
---block-brace-tightness=2
+--block-brace-tightness=0
--nospace-for-semicolon
--nooutdent-long-comments
# Default: --nocuddled-else
@@ -33,3 +33,10 @@
--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
+

0 comments on commit 3864ad5

Please sign in to comment.
Something went wrong with that request. Please try again.