goldendict-ng/.clang-tidy

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-12-25 07:59:37 +00:00
# https://clang.llvm.org/extra/clang-tidy/
---
Checks: >
2024-08-28 05:28:49 +00:00
-*,
2022-12-25 07:59:37 +00:00
bugprone-*,
cert-*,
clang-analyzer-*,
clang-diagnostic-*,
2024-08-28 05:28:49 +00:00
concurrency-*,
2022-12-25 07:59:37 +00:00
cppcoreguidelines-*,
google-*,
2024-08-28 05:28:49 +00:00
hicpp-*,
2022-12-25 07:59:37 +00:00
misc-*,
modernize-*,
2024-08-28 05:28:49 +00:00
objc-*,
2022-12-25 07:59:37 +00:00
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-prefer-member-initializer,
2024-08-28 05:28:49 +00:00
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-cstyle-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
2022-12-25 14:03:35 +00:00
-google-default-arguments,
2024-08-28 05:28:49 +00:00
-google-readability-casting,
-hicpp-deprecated-headers,
-hicpp-no-array-decay,
-misc-confusable-identifiers,
2022-12-25 09:41:00 +00:00
-misc-const-correctness,
-misc-include-cleaner,
2024-08-28 05:28:49 +00:00
-misc-non-private-member-variables-in-classes,
2022-12-25 07:59:37 +00:00
-modernize-avoid-c-arrays,
2024-08-28 05:28:49 +00:00
-modernize-deprecated-headers,
2022-12-25 07:59:37 +00:00
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-performance-enum-size,
2022-12-25 07:59:37 +00:00
-readability-function-cognitive-complexity,
2024-08-28 05:28:49 +00:00
-readability-identifier-length,
-readability-magic-numbers,
2022-12-25 07:59:37 +00:00
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
2022-12-25 07:59:37 +00:00
...