Koha/.perltidyrc
Jonathan Druart 761051893e
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>
2023-07-12 07:55:00 +01: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