Add a .clang-format
authorBen Widawsky <ben@bwidawsk.net>
Sat, 4 May 2019 05:07:05 +0000 (22:07 -0700)
committerBen Widawsky <ben@bwidawsk.net>
Thu, 9 May 2019 15:40:05 +0000 (08:40 -0700)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
.clang-format [new file with mode: 0644]

diff --git a/.clang-format b/.clang-format
new file mode 100644 (file)
index 0000000..28d13da
--- /dev/null
@@ -0,0 +1,13 @@
+# Default Linux style
+BasedOnStyle: LLVM
+IndentWidth: 8
+UseTab: Always
+BreakBeforeBraces: Linux
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+
+# From CodingReadme
+TabWidth: 8
+ContinuationIndentWidth: 2
+ColumnLimit: 150
+# BreakBeforeBraces: Linux