Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BasedOnStyle: WebKit
AlignAfterOpenBracket: BlockIndent
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
BinPackParameters: true
BreakBeforeBraces: Allman
ColumnLimit: 80
NamespaceIndentation: All
TabWidth: 4
UseTab: Always
8 changes: 8 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Checks: '
-bugprone-*,
-cppcoreguidelines-*,
-clang-analyzer-*
'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
FormatStyle: file
2 changes: 2 additions & 0 deletions examples/deps/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DisableFormat: true
SortIncludes: false
1 change: 1 addition & 0 deletions examples/deps/.clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Checks: '-*'
2 changes: 2 additions & 0 deletions src/baregl/detail/glad/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DisableFormat: true
SortIncludes: false
1 change: 1 addition & 0 deletions src/baregl/detail/glad/.clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Checks: '-*'