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>
(cherry picked from commit dfe6767f60)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 808fced6f6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Julian Maurice 2023-03-31 12:25:24 +02:00 committed by Matt Blenkinsop
parent a880011106
commit 8356b41bfb
1 changed files with 19 additions and 0 deletions

19
.perltidyrc Normal file
View File

@ -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