lint: add clang-tidy configurations
Add a clang-tidy configuration for mapperx and fail-monitor.
libmapper gets its own configuration that just checks basic kernel
coding style.
Tested by running clang-tidy.
Change-Id: Ifc97651e69b8a605e43a03cb63c79a23cc01274b
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..8b0c596
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,8 @@
+Checks: '-*,
+ bugprone-unchecked-optional-access,
+ modernize-use-nullptr
+ '
+
+HeaderFilterRegex: (?!^subprojects).*
+
+WarningsAsErrors: '*'