3d90aff0 |
1 | # challenge-bot |
2 | # GNU AGPLv3 (or later at your option) |
3 | # project available at these locations: |
4 | # https://gitorious.org/ozzloy/challenge-bot |
5 | # https://github.com/waynegramlich/challenge-bot |
6 | |
7 | # put opening and closing braces on same line as other code |
8 | # example: |
9 | # if (condition) { |
10 | # consequent; } |
11 | style=lisp |
12 | |
13 | # use 2 spaces for each level of indentation. no tabs |
14 | indent=spaces=2 |
15 | |
16 | # continuation lines should be indented at most 80 spaces |
17 | max-instatement-indent=80 |
18 | |
19 | # put space between construct keywors (like "if"), and "(" |
20 | # example: |
21 | # original: |
22 | # if(condition) { |
23 | # becomes: |
24 | # if (condition) { |
25 | pad-header |
26 | |
27 | # remove spaces around parens |
28 | # example: |
29 | # original: |
30 | # bar ( a, b ); |
31 | # becomes: |
32 | # bar(a, b); |
33 | unpad-paren |
34 | |
35 | # add brackets around single statement conditional branches |
36 | # example: |
37 | # if (condition) |
38 | # consequent; |
39 | # becomes: |
40 | # if (condition) { |
41 | # consequent; } |
42 | add-brackets |
43 | |
44 | # attempt to break up long lines to stay within 80 columns |
45 | # breaking will occur at logical conditionals (||, &&, ...), comma, paren, |
46 | # or space |
47 | max-code-length=80 |
48 | |
49 | # use lf for all line endings |
50 | lineend=linux |