summaryrefslogtreecommitdiffstats
path: root/tools/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'tools/.clang-tidy')
-rw-r--r--tools/.clang-tidy16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/.clang-tidy b/tools/.clang-tidy
new file mode 100644
index 0000000..d8434e2
--- /dev/null
+++ b/tools/.clang-tidy
@@ -0,0 +1,16 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ -*-magic-numbers,
+ -android-cloexec-fopen,
+ -bugprone-narrowing-conversions,
+ -cert-err33-c,
+ -cert-err34-c,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-narrowing-conversions,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -misc-no-recursion,
+ -readability-function-cognitive-complexity,
+InheritParentConfig: true