diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..fd17050 --- /dev/null +++ b/.clang-format @@ -0,0 +1,10 @@ +BasedOnStyle: WebKit +AlignAfterOpenBracket: BlockIndent +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: Empty +BinPackParameters: true +BreakBeforeBraces: Allman +ColumnLimit: 80 +NamespaceIndentation: All +TabWidth: 4 +UseTab: Always diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..d54eb86 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,8 @@ +Checks: ' + -bugprone-*, + -cppcoreguidelines-*, + -clang-analyzer-* +' +WarningsAsErrors: '' +HeaderFilterRegex: '.*' +FormatStyle: file diff --git a/examples/deps/.clang-format b/examples/deps/.clang-format new file mode 100644 index 0000000..9d15924 --- /dev/null +++ b/examples/deps/.clang-format @@ -0,0 +1,2 @@ +DisableFormat: true +SortIncludes: false diff --git a/examples/deps/.clang-tidy b/examples/deps/.clang-tidy new file mode 100644 index 0000000..612bd0e --- /dev/null +++ b/examples/deps/.clang-tidy @@ -0,0 +1 @@ +Checks: '-*' diff --git a/src/baregl/detail/glad/.clang-format b/src/baregl/detail/glad/.clang-format new file mode 100644 index 0000000..9d15924 --- /dev/null +++ b/src/baregl/detail/glad/.clang-format @@ -0,0 +1,2 @@ +DisableFormat: true +SortIncludes: false diff --git a/src/baregl/detail/glad/.clang-tidy b/src/baregl/detail/glad/.clang-tidy new file mode 100644 index 0000000..612bd0e --- /dev/null +++ b/src/baregl/detail/glad/.clang-tidy @@ -0,0 +1 @@ +Checks: '-*'