mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-05 00:24:06 +00:00
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
# https://clang.llvm.org/extra/clang-tidy/
|
|
---
|
|
Checks: >
|
|
-*,
|
|
bugprone-*,
|
|
cert-*,
|
|
clang-analyzer-*,
|
|
clang-diagnostic-*,
|
|
concurrency-*,
|
|
cppcoreguidelines-*,
|
|
google-*,
|
|
hicpp-*,
|
|
misc-*,
|
|
modernize-*,
|
|
objc-*,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
-bugprone-easily-swappable-parameters,
|
|
-cppcoreguidelines-owning-memory,
|
|
-cppcoreguidelines-prefer-member-initializer,
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
-cppcoreguidelines-pro-type-cstyle-cast,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-google-default-arguments,
|
|
-google-readability-casting,
|
|
-hicpp-deprecated-headers,
|
|
-hicpp-no-array-decay,
|
|
-misc-confusable-identifiers,
|
|
-misc-const-correctness,
|
|
-misc-include-cleaner,
|
|
-misc-non-private-member-variables-in-classes,
|
|
-modernize-avoid-c-arrays,
|
|
-modernize-deprecated-headers,
|
|
-modernize-use-nodiscard,
|
|
-modernize-use-trailing-return-type,
|
|
-performance-enum-size,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-identifier-length,
|
|
-readability-magic-numbers,
|
|
CheckOptions:
|
|
- key: modernize-loop-convert.MinConfidence
|
|
value: reasonable
|
|
- key: modernize-use-override.IgnoreDestructors
|
|
value: 1
|
|
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
|
|
value: 1
|
|
- key: modernize-avoid-c-arrays.AllowStringArrays
|
|
value: 1
|
|
- key: cppcoreguidelines-avoid-c-arrays.AllowStringArrays
|
|
value: 1
|
|
- key: hicpp-avoid-c-arrays.AllowStringArrays
|
|
value: 1
|
|
...
|
|
|