chore: initial project setup
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
BasedOnStyle: LLVM
|
||||
|
||||
# Pointer/Reference alignment: int * p, void (* callback)(...)
|
||||
PointerAlignment: Left
|
||||
ReferenceAlignment: Left
|
||||
|
||||
# Line length
|
||||
ColumnLimit: 100
|
||||
|
||||
# Return type on its own line
|
||||
BreakAfterReturnType: All
|
||||
|
||||
# Params each on their own line
|
||||
BinPackParameters: false
|
||||
|
||||
# Indentation
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
UseTab: Never
|
||||
ContinuationIndentWidth: 4
|
||||
|
||||
# Braces always on their own line (Allman style)
|
||||
BreakBeforeBraces: Allman
|
||||
|
||||
# No blank line after opening {
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
|
||||
# Space after C-style cast: (uint32_t) x
|
||||
SpaceAfterCStyleCast: true
|
||||
|
||||
# Spaces
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
|
||||
# Allow single-line if without braces
|
||||
AllowShortIfStatementsOnASingleLine: WithoutElse
|
||||
|
||||
# Include sorting
|
||||
SortIncludes: CaseSensitive
|
||||
IncludeBlocks: Regroup
|
||||
|
||||
# Short constructs
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
|
||||
# Comments
|
||||
ReflowComments: true
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
Checks: >
|
||||
bugprone-*,
|
||||
cert-*,
|
||||
clang-analyzer-*,
|
||||
misc-*,
|
||||
performance-*,
|
||||
portability-*,
|
||||
readability-*,
|
||||
-readability-magic-numbers,
|
||||
-readability-identifier-length,
|
||||
-readability-function-cognitive-complexity,
|
||||
-readability-braces-around-statements,
|
||||
-cert-err33-c,
|
||||
-misc-include-cleaner
|
||||
|
||||
CheckOptions:
|
||||
- key: bugprone-easily-swappable-parameters.MinimumLength
|
||||
value: 3
|
||||
- key: readability-identifier-naming.FunctionCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.VariableCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.MacroDefinitionCase
|
||||
value: UPPER_CASE
|
||||
- key: readability-identifier-naming.TypedefCase
|
||||
value: CamelCase
|
||||
|
||||
HeaderFilterRegex: '.*'
|
||||
FormatStyle: file
|
||||
@@ -0,0 +1,11 @@
|
||||
//
|
||||
// Created by Paul Horn on 08.08.26.
|
||||
//
|
||||
|
||||
#include "main.h"
|
||||
|
||||
namespace tui {
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
} // tui
|
||||
Reference in New Issue
Block a user