summaryrefslogtreecommitdiff
path: root/.perltidyrc
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-26 11:17:28 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-26 11:17:28 +0200
commit0b40abd0a7bedf1ad2d81fc700e9ff17df55b59c (patch)
tree498d7f07614a27939e86f5b308fc8585944f7c2b /.perltidyrc
parent745028659168d84bf2b0ce0f4189ef5ea97411b0 (diff)
Add tidyall hints.
Diffstat (limited to '.perltidyrc')
-rw-r--r--.perltidyrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/.perltidyrc b/.perltidyrc
new file mode 100644
index 0000000..d50e6d7
--- /dev/null
+++ b/.perltidyrc
@@ -0,0 +1,23 @@
+# Settings for perltidy
+
+# 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=/~