mirror of
https://github.com/yshui/picom.git
synced 2024-11-25 14:06:08 -05:00
chore: tweak .clang-tidy
1. Increase cognitive complexity threshold to 50. The default value of 25 marks a lot of functions, which is too noisy to be useful. 2. Ignore int8_t in signed char to integer conversion check. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
2b52edd9e3
commit
7c15a1438a
1 changed files with 4 additions and 0 deletions
|
@ -23,5 +23,9 @@ CheckOptions:
|
|||
value: 255.0;1.0;
|
||||
- key: readability-function-cognitive-complexity.IgnoreMacros
|
||||
value: true
|
||||
- key: readability-function-cognitive-complexity.Threshold
|
||||
value: 50
|
||||
- key: readability-function-cognitive-complexity.DescribeBasicIncrements
|
||||
value: true
|
||||
- key: bugprone-signed-char-misuse.CharTypdefsToIgnore
|
||||
value: int8_t
|
||||
|
|
Loading…
Reference in a new issue