summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy16
1 files changed, 16 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..49a21f2
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,16 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-narrowing-conversions,
+ -*-uppercase-literal-suffix,
+ -bugprone-branch-clone,
+ -bugprone-suspicious-string-compare,
+ -cert-err34-c,
+ -clang-analyzer-unix.Malloc,
+ -cppcoreguidelines-init-variables,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -readability-else-after-return,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file