1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-18 13:55:36 -05:00
picom/.clang-tidy
Yuxuan Shui 237bc63c01
clang-tidy: be more strict about strcmp
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-08-29 23:19:42 +01:00

32 lines
994 B
YAML

Checks: >
readability-*,
performance-*,
modernize-*,
google-readability-todo,
cert-err34-c,
cert-flp30-c,
bugprone-*,
misc-misplaced-const,
misc-redundant-expression,
misc-static-assert,
-clang-analyzer-*,
-readability-isolate-declaration,
-readability-magic-numbers,
-readability-identifier-length,
-bugprone-easily-swappable-parameters
FormatStyle: file
CheckOptions:
- key: readability-magic-numbers.IgnoredIntegerValues
value: 4;8;16;24;32;1;2;3;4096;65536;
- key: readability-magic-numbers.IgnoredFloatingPointValues
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
- key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
value: true