Skip to content

Commit

Permalink
disable some clang-tidies
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Aug 16, 2024
1 parent c5c5b0f commit 84c8e99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Checks: >-
-hicpp-static-assert,
-misc-static-assert,
-modernize-macro-to-enum,
-cppcoreguidelines-macro-to-enum,-warnings-as-errors,
-bugprone-casting-through-void,
-misc-include-cleaner,
-cppcoreguidelines-avoid-do-while,
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: '99'
Expand Down
3 changes: 3 additions & 0 deletions tests/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ Checks: >-
-modernize-macro-to-enum,
-modernize-use-trailing-return-type,
-cppcoreguidelines-owning-memory,
-misc-include-cleaner,
-performance-avoid-endl,
-cppcoreguidelines-avoid-do-while,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*\.hpp'
FormatStyle: file
Expand Down

0 comments on commit 84c8e99

Please sign in to comment.