summaryrefslogtreecommitdiffstats
path: root/src/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index ed1198d..13d6a7b 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -2,17 +2,14 @@
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
- -*-macro-to-enum,
-*-magic-numbers,
-*-narrowing-conversions,
-bugprone-easily-swappable-parameters,
-cert-err33-c,
- -cert-err34-c,
- -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: '21'
InheritParentConfig: true