diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ead99620d8075d6f722602439e46059dceab557..7ee6d193f6814d1d24eb8cb35e3658a87d00e601 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -323,7 +323,7 @@ if(_LINTING)
     else()
         message(STATUS "clang-tidy: ${clang_tidy}")
         set(_CMAKE_CXX_CLANG_TIDY_CHECKS
-            "--checks=*,-fuchsia-*,-llvmlibc-*,-readability-convert-member-functions-to-static,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-hicpp-no-array-decay,-llvm-else-after-return,-readability-else-after-return,-modernize-use-trailing-return-type,-bugprone-branch-clone,-altera-*,-cppcoreguidelines-macro-usage")
+            "--checks=*,-fuchsia-*,-llvmlibc-*,-readability-convert-member-functions-to-static,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-hicpp-no-array-decay,-llvm-else-after-return,-readability-else-after-return,-modernize-use-trailing-return-type,-bugprone-branch-clone,-altera-*")
         set(_CMAKE_C_CLANG_TIDY_CHECKS "${_CMAKE_CXX_CLANG_TIDY_CHECKS}")
         set(_CMAKE_CXX_CLANG_TIDY "${clang_tidy}"
             "--header-filter=caosdb/.*[^\(\.pb\.h\)]$"
diff --git a/src/caosdb/configuration.cpp b/src/caosdb/configuration.cpp
index a8dd6509c09aaaedc54d5693b3e21e9fb226dd1c..e1ffb23b3b1a2db5ecea79588c237bb36e79b1e1 100644
--- a/src/caosdb/configuration.cpp
+++ b/src/caosdb/configuration.cpp
@@ -45,9 +45,11 @@
 #include <string>                        // for string, operator+
 #include <utility>                       // for move
 
+// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
 #define WRAPPED_JSON_CONFIGURATION(obj)                                                            \
   (static_cast<value *>((obj)->json_configuration.wrapped.get()))
 
+// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
 #define GET_CONNECTIONS                                                                            \
   if (!this->json_configuration.wrapped) {                                                         \
     throw ConfigurationError("This CaosDB client has not been configured.");                       \