Koha/.perltidyrc
Jonathan Druart 4ea1bda1ed 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>
2023-07-12 09:16:19 +00:00

18 lines
313 B
Text

# delete backup if no errors
--backup-file-extension='/'
--character-encoding=utf8
--output-line-ending=unix
--iterations=2
# } else {
--cuddled-else
# Use the full indent size for continuations
--continuation-indentation=4
--no-outdent-long-lines
--maximum-line-length=120
--break-at-old-comma-breakpoints