summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2024-01-05 10:15:41 -0600
committerGarrett Cox <garrettjcox@gmail.com>2024-05-22 09:04:51 -0500
commit2332f63f5a9ca4b949f029c11a9744d601d7155f (patch)
treee24858e26a5dbd6d7a240338cbfd9e0694013491 /.clang-format
parentea8c7de686ea9c4224fc2e26982a573d3e3dd314 (diff)
Initial commit for 2S2H
Co-authored-by: Louis <35883445+louist103@users.noreply.github.com> Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com> Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format23
1 files changed, 23 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 000000000..c7b900f06
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,23 @@
+IndentWidth: 4
+Language: Cpp
+UseTab: Never
+ColumnLimit: 120
+PointerAlignment: Left
+BreakBeforeBraces: Attach
+SpaceAfterCStyleCast: false
+Cpp11BracedListStyle: false
+IndentCaseLabels: true
+BinPackArguments: true
+BinPackParameters: true
+AlignAfterOpenBracket: Align
+AlignOperands: true
+BreakBeforeTernaryOperators: true
+BreakBeforeBinaryOperators: None
+AllowShortBlocksOnASingleLine: true
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+AllowShortCaseLabelsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: false
+AlignEscapedNewlines: Left
+AlignTrailingComments: true
+SortIncludes: false