Skip to content

Commit

Permalink
tools: Added .clang-format for formatting
Browse files Browse the repository at this point in the history
This is the `.clang-format` file I've been using for a while now. I
think that we might save on formatting nits if we tell new
contributors to use `clang-format`
  • Loading branch information
cdecker authored and rustyrussell committed Nov 29, 2018
1 parent 685a76e commit 45e1f09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
BasedOnStyle: LLVM
IndentWidth: 8
UseTab: Always
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false

0 comments on commit 45e1f09

Please sign in to comment.