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>
This commit is contained in:
Julian Maurice 2023-03-31 12:25:24 +02:00 committed by Tomas Cohen Arazi
parent c4e016f4df
commit dfe6767f60
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
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