style: tune formatting and lint warnings
cpp-template / format (ubuntu-22.04) (push) Successful in 1m9s
cpp-template / format (ubuntu-24.04) (push) Successful in 1m9s
cpp-template / build-test (asan, ubuntu-22.04) (push) Successful in 1m57s
cpp-template / build-test (asan, ubuntu-24.04) (push) Successful in 1m56s
cpp-template / build-test (debug, ubuntu-22.04) (push) Successful in 2m11s
cpp-template / build-test (debug, ubuntu-24.04) (push) Successful in 2m15s
cpp-template / build-test (fuzz, ubuntu-22.04) (push) Successful in 7m56s
cpp-template / build-test (fuzz, ubuntu-24.04) (push) Successful in 8m1s
cpp-template / build-test (release, ubuntu-22.04) (push) Successful in 2m14s
cpp-template / build-test (release, ubuntu-24.04) (push) Successful in 2m13s
cpp-template / clang-tidy (ubuntu-22.04) (push) Successful in 1m51s
cpp-template / clang-tidy (ubuntu-24.04) (push) Successful in 2m0s
cpp-template / install-consumer (ubuntu-22.04) (push) Successful in 1m44s
cpp-template / install-consumer (ubuntu-24.04) (push) Successful in 1m48s
cpp-template / no-network-negative (ubuntu-22.04) (push) Successful in 6m59s
cpp-template / no-network-negative (ubuntu-24.04) (push) Successful in 7m32s
cpp-template / format (ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (asan, ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (debug, ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (fuzz, ubuntu-20.04) (push) Has been cancelled
cpp-template / build-test (release, ubuntu-20.04) (push) Has been cancelled
cpp-template / clang-tidy (ubuntu-20.04) (push) Has been cancelled
cpp-template / install-consumer (ubuntu-20.04) (push) Has been cancelled
cpp-template / no-network-negative (ubuntu-20.04) (push) Has been cancelled

This commit is contained in:
tqcq
2026-05-20 12:51:01 +08:00
parent 5c2c76f5d7
commit 0fa0607572
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@ IndentWidth: 4
ContinuationIndentWidth: 4
AccessModifierOffset: -4
NamespaceIndentation: None
IndentCaseLabels: false
BreakBeforeBraces: Custom
BraceWrapping:
+3 -1
View File
@@ -8,10 +8,12 @@ Checks: >
performance-*,
portability-*,
readability-*,-readability-identifier-naming,-readability-identifier-length,-readability-implicit-bool-conversion,-readability-function-cognitive-complexity,-readability-function-size
WarningsAsErrors: '*'
WarningsAsErrors: '*,-readability-magic-numbers'
HeaderFilterRegex: '^(src|examples|include)/.*'
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: '25'
- key: readability-function-size.LineThreshold
value: '120'
- key: readability-magic-numbers.IgnoredIntegerValues
value: '0'