summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--firmware/.clang-format17
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/.clang-format b/firmware/.clang-format
new file mode 100644
index 0000000..ded45b8
--- /dev/null
+++ b/firmware/.clang-format
@@ -0,0 +1,17 @@
+---
+BasedOnStyle: WebKit
+
+AlignAfterOpenBracket: AlwaysBreak
+AlignOperands: true
+AllowShortFunctionsOnASingleLine: Inline
+AlwaysBreakBeforeMultilineStrings: true
+AlwaysBreakTemplateDeclarations: Yes
+BinPackArguments: false
+BinPackParameters: false
+BreakBeforeBinaryOperators: None
+ColumnLimit: 100
+KeepEmptyLinesAtTheStartOfBlocks: false
+PenaltyBreakBeforeFirstCallParameter: 100
+PenaltyReturnTypeOnItsOwnLine: 1000
+SpaceInEmptyBlock: false
+...