summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.perltidyrc23
-rw-r--r--.tidyallrc6
2 files changed, 29 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=/~
diff --git a/.tidyallrc b/.tidyallrc
new file mode 100644
index 0000000..5a1bf80
--- /dev/null
+++ b/.tidyallrc
@@ -0,0 +1,6 @@
+;; Settings for tidyall
+;: Usage: tidyall -a
+
+[PerlTidy]
+select = bin/capture+encode+serve
+argv = --profile=$ROOT/.perltidyrc