| 1 | ### .perltidyrc as recommended by PBP. | ||
| 2 | ### obtained from http://www.perlmonks.org/?node_id=485885 | ||
| 3 | -l=78 # Max line width is 78 cols | ||
| 4 | -i=4 # Indent level is 4 cols | ||
| 5 | -ci=4 # Continuation indent is 4 cols | ||
| 6 | -se # Errors to STDERR | ||
| 7 | -vt=2 # Maximal vertical tightness | ||
| 8 | -cti=0 # No extra indentation for closing brackets | ||
| 9 | -pt=1 # Medium parenthesis tightness | ||
| 10 | -bt=1 # Medium brace tightness | ||
| 11 | -sbt=1 # Medium square bracket tightness | ||
| 12 | -bbt=1 # Medium block brace tightness | ||
| 13 | -nsfs # No space before semicolons | ||
| 14 | -nolq # Don't outdent long quoted strings | ||
| 15 | -wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= && += -= /= |= >>= ||= .= %= ^= x=" | ||
| 16 | # Break before all operators |