From e37f70b72357dc01d24118746d2a0656fc90fb17 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Jan 2025 09:24:39 -0500 Subject: Strengthen clang-tidy configuration --- src/.clang-tidy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/.clang-tidy') diff --git a/src/.clang-tidy b/src/.clang-tidy index ed1198d..2967334 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -2,7 +2,6 @@ # SPDX-License-Identifier: 0BSD OR ISC Checks: > - -*-macro-to-enum, -*-magic-numbers, -*-narrowing-conversions, -bugprone-easily-swappable-parameters, @@ -11,8 +10,9 @@ Checks: > -clang-analyzer-unix.Malloc, -hicpp-signed-bitwise, -misc-no-recursion, - -performance-no-int-to-ptr, - -readability-function-cognitive-complexity, -readability-identifier-length, -readability-redundant-casting, +CheckOptions: + - key: readability-function-cognitive-complexity.Threshold + value: '75' InheritParentConfig: true -- cgit v1.2.1