summaryrefslogtreecommitdiffstats
path: root/tools/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'tools/.clang-tidy')
-rw-r--r--tools/.clang-tidy10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/.clang-tidy b/tools/.clang-tidy
new file mode 100644
index 00000000..84ea0537
--- /dev/null
+++ b/tools/.clang-tidy
@@ -0,0 +1,10 @@
+InheritParentConfig: true
+
+# We don't want to do any checks in this directory yet so hack around
+# the fact that Clang-Tidy won't let us disable all checks.
+# https://stackoverflow.com/a/58379342/82195
+Checks:
+ - '-*'
+ - 'misc-definitions-in-headers'
+CheckOptions:
+ - { key: 'HeaderFileExtensions', value: 'DISABLED' }