Skip to content

Commit 45e1f09

Browse files
cdeckerrustyrussell
authored andcommitted
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`
1 parent 685a76e commit 45e1f09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.clang-format

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
BasedOnStyle: LLVM
2+
IndentWidth: 8
3+
UseTab: Always
4+
BreakBeforeBraces: Linux
5+
AllowShortIfStatementsOnASingleLine: false
6+
IndentCaseLabels: false

0 commit comments

Comments
 (0)