mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
dev: add .clang-tidy
This commit is contained in:
parent
2a7ce63752
commit
17fab0f0c9
31
.clang-tidy
Normal file
31
.clang-tidy
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# https://clang.llvm.org/extra/clang-tidy/
|
||||||
|
---
|
||||||
|
Checks: >
|
||||||
|
-*
|
||||||
|
bugprone-*,
|
||||||
|
cert-*,
|
||||||
|
clang-analyzer-*,
|
||||||
|
clang-diagnostic-*,
|
||||||
|
cppcoreguidelines-*,
|
||||||
|
google-*,
|
||||||
|
misc-*,
|
||||||
|
modernize-*,
|
||||||
|
performance-*,
|
||||||
|
portability-*,
|
||||||
|
readability-*,
|
||||||
|
-bugprone-easily-swappable-parameters,
|
||||||
|
-bugprone-reserved-identifier,
|
||||||
|
-cppcoreguidelines-owning-memory,
|
||||||
|
-google-default-arguments
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
|
-modernize-avoid-c-arrays,
|
||||||
|
-modernize-use-auto,
|
||||||
|
-modernize-use-nodiscard,
|
||||||
|
-modernize-use-trailing-return-type,
|
||||||
|
-readability-magic-numbers,
|
||||||
|
-readability-function-cognitive-complexity,
|
||||||
|
CheckOptions:
|
||||||
|
- key: modernize-loop-convert.MinConfidence
|
||||||
|
value: reasonable
|
||||||
|
...
|
||||||
|
|
Loading…
Reference in a new issue