Skip to content

Commit

Permalink
Add clang-format config
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Dec 31, 2023
1 parent 9863d11 commit ea4ee39
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
BasedOnStyle: Google
IndentWidth: 2
ColumnLimit: 100
---
Language: Cpp
PointerAlignment: Right
AlwaysBreakAfterReturnType: TopLevelDefinitions
BreakBeforeBraces: Linux
UseTab: Never
TabWidth: 2
SortIncludes: false
6 changes: 6 additions & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.git
build
emsdk
node_modules
target
vendor

0 comments on commit ea4ee39

Please sign in to comment.