Files
RedScarfEngine/.clang-format
T
Piotr Krygier 173a82b9d1 [WIP] Refactor project
There are many problems with the way the current version is provided
and maintained. This commit or series of commits will fix this.
2025-06-20 13:44:33 +02:00

33 lines
706 B
YAML

BasedOnStyle: Google
IndentWidth: 4
# Add missing namespace comment on the closing bracket
FixNamespaceComments: true
# Do not indent everything in namespace
NamespaceIndentation: None
# Disable single line functions
AllowShortFunctionsOnASingleLine: None
# Braces configuration
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: false
AfterControlStatement: Never
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
ColumnLimit: 80
# Pointer star next to type, not variable name
DerivePointerAlignment: false
PointerAlignment: Left