mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-17 22:24:24 +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:
committed by
Rusty Russell
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
|
||||
Reference in New Issue
Block a user