Formatter + gitignore
This commit is contained in:
parent
f6b4a91e71
commit
07ed9f1dcf
2 changed files with 11 additions and 0 deletions
9
.clang-format
Normal file
9
.clang-format
Normal file
|
@ -0,0 +1,9 @@
|
|||
BasedOnStyle: LLVM
|
||||
IndentWidth: 4 # Use 4 spaces for indentation
|
||||
TabWidth: 4 # Tab width is also 4 spaces
|
||||
UseTab: Never # Always use spaces instead of tabs
|
||||
ColumnLimit: 80 # Wrap lines after 80 characters
|
||||
AllowShortLoopsOnASingleLine: true
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
AlignConsecutiveMacros: true
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,12 +10,14 @@
|
|||
# Build directories
|
||||
build/
|
||||
bin/
|
||||
.cache
|
||||
|
||||
# IDE and editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
compile_commands.json
|
||||
|
||||
# Dependency directories
|
||||
lib/
|
||||
|
|
Loading…
Add table
Reference in a new issue