summaryrefslogtreecommitdiff
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>2021-05-19 21:11:05 +0200
commitf61cf2f40c23826707dd4ea430a46d0f281ce57d (patch)
tree8cccbdbfa22bbdcb55f965b0285901ee86cc8b2e /.perltidyrc
parent5ffc09c6a33277241271adff07c797924e167b3c (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=/~