chore: set up clang-tidy

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Idd88aa64efcc59a70dffa548603e51156a6a6964
This commit is contained in:
raf 2026-02-22 00:05:30 +03:00
commit eb84d4617b
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

9
.clang-tidy Normal file
View file

@ -0,0 +1,9 @@
---
Checks: >
bugprone-branch-clone,
bugprone-assert-side-effect,
bugprone-string-constructor,
performance-inefficient-vector-operation,
performance-unnecessary-value-param,
WarningsAsErrors: ''
HeaderFilterRegex: '^(src/|tests/)'