Skip to content

Commit 985e3db

Browse files
committed
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.
1 parent 9f4867a commit 985e3db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.clang-tidy

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

0 commit comments

Comments
 (0)