aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorslaren <slarengh@gmail.com>2023-05-12 15:40:53 +0200
committerGitHub <noreply@github.com>2023-05-12 15:40:53 +0200
commit553fd4d4b5f3314f338be8006f62a4fdf7670186 (patch)
treed7a19612183f0d78a40db6d28ea778477823bb1f /.clang-tidy
parent089b1c93ba2b93bc9a605af293730a028fad2c4e (diff)
Add clang-tidy reviews to CI (#1407)
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy18
1 files changed, 18 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..1a42b9a
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,18 @@
+---
+Checks: >
+ bugprone-*,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-implicit-widening-of-multiplication-result,
+ -bugprone-narrowing-conversions,
+ readability-*,
+ -readability-avoid-unconditional-preprocessor-if,
+ -readability-function-cognitive-complexity,
+ -readability-identifier-length,
+ -readability-implicit-bool-conversion,
+ -readability-magic-numbers,
+ -readability-uppercase-literal-suffix,
+ clang-analyzer-*,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ performance-*,
+ portability-*,
+FormatStyle: none