mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
reformat with perltidy and add sample perltidyrc file
This commit is contained in:
42
scripts/perl/perltidyrc
Normal file
42
scripts/perl/perltidyrc
Normal file
@@ -0,0 +1,42 @@
|
||||
-l=120
|
||||
# Max line width is 120 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
|
Reference in New Issue
Block a user