Skip to content

Commit

Permalink
Add more clang-tidy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Feb 19, 2024
1 parent 45050eb commit 703c43c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Checks: >
-*,
bugprone-*,
clang-analyzer-*,
concurrency-*,
Expand All @@ -9,13 +8,10 @@ Checks: >
performance-*,
portability-*,
readability-*,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-cstyle-cast,
Expand All @@ -26,7 +22,6 @@ Checks: >
-modernize-use-trailing-return-type,
-performance-no-int-to-ptr,
-readability-braces-around-statements,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
Expand All @@ -36,6 +31,7 @@ CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: CamelCase }
- { key: readability-identifier-naming.MemberCase, value: camelBack }
- { key: readability-identifier-naming.PrivateMemberCase, value: camelBack }
- { key: readability-function-cognitive-complexity.Threshold, value: 40 }
HeaderFilterRegex: '(./imgui-SFML*)'
WarningsAsErrors: '*'
UseColor: true

0 comments on commit 703c43c

Please sign in to comment.