# challenge-bot # GNU AGPLv3 (or later at your option) # put opening and closing braces on same line as other code # example: # if (condition) { # consequent; } style=lisp # use 2 spaces for each level of indentation. no tabs indent=spaces=2 # continuation lines should be indented at most 80 spaces max-instatement-indent=80 # put space between construct keywors (like "if"), and "(" # example: # original: # if(condition) { # becomes: # if (condition) { pad-header # remove spaces around parens # example: # original: # bar ( a, b ); # becomes: # bar(a, b); unpad-paren # add brackets around single statement conditional branches # example: # if (condition) # consequent; # becomes: # if (condition) { # consequent; } add-brackets # attempt to break up long lines to stay within 80 columns # breaking will occur at logical conditionals (||, &&, ...), comma, paren, # or space max-code-length=80 # use lf for all line endings lineend=linux