feat(@desktop/cpp): add initial .clang-tigdy config

Closes: #4430
This commit is contained in:
Patryk Osmaczko 2022-01-31 13:58:28 +01:00 committed by Richard Ramos
parent e98428dd40
commit a058324faa
1 changed files with 20 additions and 0 deletions

20
.clang-tidy Normal file
View File

@ -0,0 +1,20 @@
---
Checks: 'clang-diagnostic-*,
clang-analyzer-*,
bugprone-*,
hicpp-*,
readability-*,
-readability-qualified-auto,
modernize-*,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type, # does not work well with MOC
cppcoreguidelines-*,
-cppcoreguidelines-non-private-member-variables-in-classes'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 'true'
...