mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-26 20:30:59 +01:00
tools: Added .clang-format for formatting
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`
This commit is contained in:
parent
685a76e714
commit
45e1f09714
1 changed files with 6 additions and 0 deletions
6
.clang-format
Normal file
6
.clang-format
Normal file
|
@ -0,0 +1,6 @@
|
|||
BasedOnStyle: LLVM
|
||||
IndentWidth: 8
|
||||
UseTab: Always
|
||||
BreakBeforeBraces: Linux
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
IndentCaseLabels: false
|
Loading…
Add table
Reference in a new issue