3 # Default options for perltidy for proper Perl code reformatting.
5 # The canonical version of this file is maintained in the rra-c-util package,
6 # which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
8 -bbao # put line breaks before any operator
9 -nbbc # don't force blank lines before comments (bad for else blocks)
10 -ce # cuddle braces around else
11 -l=79 # usually use 78, but don't want 79-long lines reformatted
12 -pt=2 # don't add extra whitespace around parentheses
13 -sbt=2 # ...or square brackets
14 -sfs # no space before semicolon in for (not that I use this form)