summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/.clang-tidy5
-rw-r--r--test/headers/.clang-tidy6
2 files changed, 6 insertions, 5 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
index a271110..b2fbfe2 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -2,11 +2,12 @@
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
- -*-macro-to-enum,
-*-magic-numbers,
-bugprone-multi-level-implicit-pointer-conversion,
-bugprone-suspicious-realloc-usage,
-cert-err33-c,
- -performance-no-int-to-ptr,
-readability-identifier-length,
+CheckOptions:
+ - key: readability-function-cognitive-complexity.Threshold
+ value: '13'
InheritParentConfig: true
diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy
index bbcc1eb..aa1b43c 100644
--- a/test/headers/.clang-tidy
+++ b/test/headers/.clang-tidy
@@ -3,11 +3,11 @@
Checks: >
*,
- -*-macro-to-enum,
-altera-*,
-llvmlibc-*,
- -performance-no-int-to-ptr,
- -readability-identifier-length,
+CheckOptions:
+ - key: readability-function-cognitive-complexity.Threshold
+ value: '0'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*/sratom/[^/]+.h'
FormatStyle: file