define wiring in separate file
[challenge-bot] / 3d-printables / astyle-options
CommitLineData
3d90aff0 1# challenge-bot
2# GNU AGPLv3 (or later at your option)
3d90aff0 3
4# put opening and closing braces on same line as other code
5# example:
6# if (condition) {
7# consequent; }
8style=lisp
9
10# use 2 spaces for each level of indentation. no tabs
11indent=spaces=2
12
13# continuation lines should be indented at most 80 spaces
14max-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) {
22pad-header
23
24# remove spaces around parens
25# example:
26# original:
27# bar ( a, b );
28# becomes:
29# bar(a, b);
30unpad-paren
31
32# add brackets around single statement conditional branches
33# example:
34# if (condition)
35# consequent;
36# becomes:
37# if (condition) {
38# consequent; }
39add-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
44max-code-length=80
45
46# use lf for all line endings
47lineend=linux