From 1bc93509a17fb06a9a0d5dd6b823a56d0c5d88aa Mon Sep 17 00:00:00 2001 From: Gavin Carr Date: Wed, 3 Oct 2007 11:51:54 +0000 Subject: [PATCH] Add Perl Best Practices .perltidyrc. --- .perltidyrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .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 + -- 2.39.2