summaryrefslogtreecommitdiffstats
path: root/src/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
new file mode 100644
index 0000000..0ec528b
--- /dev/null
+++ b/src/.clang-tidy
@@ -0,0 +1,17 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ -*-magic-numbers,
+ -*-narrowing-conversions,
+ -*-uppercase-literal-suffix,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-suspicious-string-compare,
+ -cert-err33-c,
+ -cert-err34-c,
+ -clang-analyzer-unix.Malloc,
+ -hicpp-signed-bitwise,
+ -misc-no-recursion,
+ -readability-function-cognitive-complexity,
+ -readability-identifier-length,
+InheritParentConfig: true