Skip to content

Commit 9c27d0f

Browse files
Enable readability-function-cognitive-complexity clang-tidy check
1 parent 1d8a1ed commit 9c27d0f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.clang-tidy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
HeaderFilterRegex: '.*'
2+
Checks: >
3+
-*,
4+
readability-function-cognitive-complexity
5+
WarningsAsErrors: >
6+
readability-function-cognitive-complexity
7+
CheckOptions:
8+
- key: readability-function-cognitive-complexity.Threshold
9+
value: 21

0 commit comments

Comments
 (0)