From abf991d1f0b32a1a0e391b2c3e0fd1464d31f079 Mon Sep 17 00:00:00 2001 From: Saksham Goyal Date: Wed, 15 Oct 2025 09:39:25 -0400 Subject: [PATCH] Formatting with .clang-format Fixes https://github.com/raysan5/raylib/pull/5252#issuecomment-3403917757 --- .clang-format | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..fa817aa29 --- /dev/null +++ b/.clang-format @@ -0,0 +1,17 @@ +BasedOnStyle: Microsoft +AlignConsecutiveMacros: AcrossEmptyLinesAndComments +AlignEscapedNewlines: Left +AlignTrailingComments: true +AllowShortBlocksOnASingleLine: Always +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: All +AllowShortIfStatementsOnASingleLine: AllIfsAndElse +AlwaysBreakAfterReturnType: None +ColumnLimit: 9999 +IndentWidth: 4 +PointerAlignment: Right +SpaceInEmptyParentheses: false +SpacesInCStyleCastParentheses: false +TabWidth: 4 +UseTab: Never +IndentPPDirectives: BeforeHash