]> eyrie.org Git - kerberos/krb5-strength.git/blob - tests/data/perltidyrc
add a specfile for building on RPM platforms
[kerberos/krb5-strength.git] / tests / data / perltidyrc
1 # -*- conf -*-
2 #
3 # Default options for perltidy for proper Perl code reformatting.
4 #
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/>.
7 #
8 # Written by Russ Allbery <eagle@eyrie.org>
9 # Copyright 2012-2013
10 #     The Board of Trustees of the Leland Stanford Junior University
11 #
12 # Copying and distribution of this file, with or without modification, are
13 # permitted in any medium without royalty provided the copyright notice and
14 # this notice are preserved.  This file is offered as-is, without any
15 # warranty.
16 #
17 # SPDX-License-Identifier: FSFAP
18
19 -bbao           # put line breaks before any operator
20 -nbbc           # don't force blank lines before comments (bad for else blocks)
21 -ce             # cuddle braces around else
22 -l=79           # usually use 78, but don't want 79-long lines reformatted
23 -pt=2           # don't add extra whitespace around parentheses
24 -sbt=2          # ...or square brackets
25 -sfs            # no space before semicolon in for (not that I use this form)