From 97af9b5b83c9d5e3c5bd180042f243b1d1aafcb9 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 4 Dec 2021 21:20:37 +0000 Subject: [PATCH] Disabled some clang-tidy checks that were enforcing coding styles that would cause more harm than good, if followed --- .clang-tidy | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 20dad83e..bba1981b 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -6,7 +6,6 @@ Checks: > cert-err52-cpp, cert-err60-cpp, cppcoreguidelines-*, - -cppcoreguidelines-*, google-explicit-constructor, google-global-names-in-headers, google-readability-casting, @@ -15,7 +14,11 @@ Checks: > modernize-*, performance-*, readability-*, - -readability-named-parameter + -modernize-use-trailing-return-type, + -readability-named-parameter, + -readability-magic-numbers, + -cppcoreguidelines-avoid-magic-numbers, + -cppcoreguidelines-owning-memory, CheckOptions: - key: bugprone-argument-comment.StrictMode value: 1