From 22a50ef661e0a7ffb8e08286b6067d11e57a8736 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 16 Aug 2022 21:42:13 +0200 Subject: [PATCH] up the cognitive threshold to 30 --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index aaa1e61..3da5fe5 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -46,6 +46,8 @@ CheckOptions: # ↓ Clashes with static private member prefix. (static int _va - { key: readability-identifier-naming.EnumCase, value: lower_case } - { key: readability-identifier-naming.FunctionCase, value: lower_case } - { key: readability-identifier-naming.ParameterCase, value: lower_case } + + - { key: readability-function-cognitive-complexity.Threshold, value: 30 } ... # vim: set et tw=100: