aboutsummaryrefslogtreecommitdiff
path: root/.perltidyrc
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-05-19 21:11:05 +0200
committerJonas Smedegaard <dr@jones.dk>2024-08-27 23:39:36 +0200
commitd6ca82c05062b7e5ff2c67574be08c0d2e9d810d (patch)
treea5ed70d17247bbf5d1b38ebd0ee26b4e4171afa6 /.perltidyrc
parent5bfe7679eefcb4c92a8f72ccf3c76ac42f0921c4 (diff)
add script events2md.pl
Diffstat (limited to '.perltidyrc')
-rw-r--r--.perltidyrc21
1 files changed, 21 insertions, 0 deletions
diff --git a/.perltidyrc b/.perltidyrc
new file mode 100644
index 0000000..2e08554
--- /dev/null
+++ b/.perltidyrc
@@ -0,0 +1,21 @@
+# use best practices, except use of stdout
+--perl-best-practices
+--no-standard-output
+--no-standard-error-output
+
+# use TAB for lead indentation
+--tabs
+--entab-leading-whitespace=4
+-nola
+
+# indent only already indented comments
+--indent-spaced-block-comments
+
+# put brace on new line for named subroutines
+--opening-sub-brace-on-new-line
+
+# preserve horisontally styled lists
+--break-at-old-comma-breakpoints
+
+# overwrite (we use CVS), and leave backup only on error
+--backup-file-extension=/~