From: Gavin Carr Date: Wed, 3 Oct 2007 11:51:54 +0000 (+0000) Subject: Add Perl Best Practices .perltidyrc. X-Git-Tag: v2_1_0~41 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fblosxom.git;a=commitdiff_plain;h=1bc93509a17fb06a9a0d5dd6b823a56d0c5d88aa Add Perl Best Practices .perltidyrc. --- diff --git a/.perltidyrc b/.perltidyrc new file mode 100644 index 0000000..4866f1f --- /dev/null +++ b/.perltidyrc @@ -0,0 +1,16 @@ +-l=78 # Max line width is 78 cols +-i=4 # Indent level is 4 cols +-ci=4 # Continuation indent is 4 cols +-st # Output to STDOUT +-se # Errors to STDERR +-vt=2 # Maximal vertical tightness +-cti=0 # No extra indentation for closing brackets +-pt=1 # Medium parenthesis tightness +-bt=1 # Medium brace tightness +-sbt=1 # Medium square bracket tightness +-bbt=1 # Medium block brace tightness +-nsfs # No space before semicolons +-nolq # Don't outdent long quoted strings +-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" + # Break before all operators +