[icinga-checkins] icinga.org: icinga-core/fholzer/core: Add perltidyrc

git at icinga.org git at icinga.org
Sat Apr 21 20:23:45 CEST 2012


Module: icinga-core
Branch: fholzer/core
Commit: 0784b2a42aa38837e6ae4a20e762d880425ca7aa
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=0784b2a42aa38837e6ae4a20e762d880425ca7aa

Author: Alexander Wirt <formorer at debian.org>
Date:   Sat Apr 21 15:03:28 2012 +0200

Add perltidyrc

---

 tools/.perltidyrc |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/tools/.perltidyrc b/tools/.perltidyrc
new file mode 100644
index 0000000..35e5f77
--- /dev/null
+++ b/tools/.perltidyrc
@@ -0,0 +1,15 @@
+-l=78   # Max line width is 78 cols
+-i=4    # Indent level is 4 cols
+-ci=4   # Continuation indent is 4 cols
+-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
+--cuddled-else # } else {
+-nbl # no linebreaks after if block
+-nasbl # similiar for subs





More information about the icinga-checkins mailing list