Bug 30002: Adjust perltidy

Remove the following 3 options that are not available in perltidy
v20190601 that is the version shipped with bullseye
--add-terminal-newline
--valign-exclusion-list
--extended-continuation-indentation

Extend max line length
--maximum-line-length=120

Prevent perltidy to format lists (see bug 30002 comment 10)
--break-at-old-comma-breakpoints

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d46a959a69)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 761051893e)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-05-02 14:37:01 +02:00 committed by Matt Blenkinsop
parent 1a32d6162e
commit 4ea1bda1ed

View file

@ -3,17 +3,16 @@
--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
--maximum-line-length=120
--break-at-old-comma-breakpoints