mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +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
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…
Reference in New Issue
Block a user