Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (29 sloc) 1.298 kB
762c013 @abh Perl::Tidy configuration
abh authored
1 # Perl Best Practices (plus errata) .perltidyrc file
2
3 -l=98 # Max line width is 98 cols
4 -i=4 # Indent level is 4 cols
5 -ci=4 # Continuation indent is 4 cols
6 #-st # Output to STDOUT
7 -se # Errors to STDERR
8 -vt=2 # Maximal vertical tightness
9 -cti=0 # No extra indentation for closing brackets
10 -pt=1 # Medium parenthesis tightness
11 -bt=1 # Medium brace tightness
12 -sbt=1 # Medium square bracket tightness
13 -bbt=1 # Medium block brace tightness
14 -nsfs # No space before semicolons
15 -nolq # Don't outdent long quoted strings
16 -wbb="% + - * / x != == >= <= =~ < > | & **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
17 # Break before all operators
18
19 # extras/overrides/deviations from PBP
20
21 --maximum-line-length=100 # be slightly more generous
22 --warning-output # Show warnings
23 --maximum-consecutive-blank-lines=2 # default is 1
24 --nohanging-side-comments # troublesome for commented out code
25
26 -isbc # block comments may only be indented if they have some space characters before the #
27 -ci=2 # Continuation indent is 2 cols
28
29 # we use version control, so just rewrite the file
30 -b
31
32 # for the up-tight folk :)
33 #-pt=2 # High parenthesis tightness
34 #-bt=2 # High brace tightness
35 #-sbt=2 # High square bracket tightness
36
Something went wrong with that request. Please try again.