diff --git a/.perltidyrc b/.perltidyrc new file mode 100644 index 00000000..e45773f3 --- /dev/null +++ b/.perltidyrc @@ -0,0 +1,18 @@ +# .perltidyrc - PBP perltidy configuration file for SNMP::Info +# $Id$ + +-l=78 # Max line width is 78 cols +-i=4 # Indent level is 4 cols +-ci=4 # Continuation indent is 4 cols +-nst # 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 + diff --git a/xt/.perltidyrc b/xt/.perltidyrc index e45773f3..dc100827 100644 --- a/xt/.perltidyrc +++ b/xt/.perltidyrc @@ -1,18 +1,13 @@ -# .perltidyrc - PBP perltidy configuration file for SNMP::Info -# $Id$ - --l=78 # Max line width is 78 cols --i=4 # Indent level is 4 cols --ci=4 # Continuation indent is 4 cols --nst # 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 - +-pbp # Start with Perl Best Practices +-w # Show all warnings +-iob # Ignore old breakpoints +-l=80 # 80 characters per line +-mbl=2 # No more than 2 blank lines +-i=2 # Indentation is 2 columns +-ci=2 # Continuation indentation is 2 columns +-vt=0 # Less vertical tightness +-pt=2 # High parenthesis tightness +-bt=2 # High brace tightness +-sbt=2 # High square bracket tightness +-wn # Weld nested containers +-isbc # Don't indent comments without leading space