summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.perltidyrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/.perltidyrc b/.perltidyrc
new file mode 100644
index 0000000..da7117f
--- /dev/null
+++ b/.perltidyrc
@@ -0,0 +1,18 @@
+-i=8 # Indent at 8 columns per level
+-et=8 # Use 8-column tabs in indentation
+-ole=unix # Use UNIX line endings
+-ci=8 # Indent continuation lines at 8 columns
+-cti=0 # Don't indent closing tokens
+-nolq # Don't outdent long quotes
+-nolc # Don't outdent long comments
+-pt=2 # Keep parentheses tight
+-sbt=2 # Keep square brackets tight
+-bt=2 # Keep curly braces tight
+-nsfs # Don't place spaces before semicolons in for loops
+-ce # Cuddle elsif and else
+-sbl # Place opening brace of named subs on a new line
+-bar # Keep opening braces on right
+-otr # Don't break between comma and opening token
+-sot # Stack opening tokens
+-sct # Stack closing tokens
+-baao # Break after all operators