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