1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 13:41:13 +02:00

copy paste .clang-tidy from a modern-cpp-template

It's a really good default.
It's copy-paste from https://github.com/filipdutescu/modern-cpp-template
with one modification: turn off warnings as error for clang-tidy.
This commit is contained in:
Gerodote 2024-04-16 12:40:10 +00:00
parent 9f4867aa5e
commit 985e3db8de

6
.clang-tidy Normal file
View file

@ -0,0 +1,6 @@
---
Checks: '*,-fuchsia-*,-google-*,-zircon-*,-abseil-*,-modernize-use-trailing-return-type,-llvm-*,-llvmlibc-*'
CheckOptions: [{ key: misc-non-private-member-variables-in-classes, value: IgnoreClassesWithAllMemberVariablesBeingPublic }]
WarningsAsErrors: ''
HeaderFilterRegex: ''
FormatStyle: none