From 8e51c8c3da5aa161b03087ecf3873ea10d6d6c41 Mon Sep 17 00:00:00 2001
From: Julian Maurice <julian.maurice@biblibre.com>
Date: Fri, 31 Mar 2023 12:25:24 +0200
Subject: [PATCH] Bug 30002: Add .perltidyrc

The options set in this file try to match the current code style without
deviating too much from perltidy's defaults.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 .perltidyrc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 .perltidyrc

diff --git a/.perltidyrc b/.perltidyrc
new file mode 100644
index 00000000000..17df89753bf
--- /dev/null
+++ b/.perltidyrc
@@ -0,0 +1,19 @@
+# delete backup if no errors
+--backup-file-extension='/'
+
+--character-encoding=utf8
+--output-line-ending=unix
+--add-terminal-newline
+--iterations=2
+
+# } else {
+--cuddled-else
+
+# do not vertically align "qw()" after use
+--valign-exclusion-list='q'
+
+# Use the full indent size for continuations
+--continuation-indentation=4
+--extended-continuation-indentation
+
+--no-outdent-long-lines
-- 
2.34.1