diff options
author | jade <lix@jade.fyi> | 2024-03-31 15:38:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-03-31 15:38:29 +0000 |
commit | 6165f210742d74dc7d74b011cc6f782d59c2f407 (patch) | |
tree | 277d484a272aa0d3c26fb65b0207cd939331ba32 | |
parent | 2d3fd6b9abe250ac6758564aecde549357ab5219 (diff) | |
parent | 99f159c5367e423097fe4347375bdfc4f76d2c0c (diff) |
Merge "Add basic clang-tidy config" into main
-rw-r--r-- | .clang-tidy | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 000000000..3b5dcd91a --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,18 @@ +UseColor: true +Checks: + - -* + - bugprone-* + # too many warnings + - -bugprone-assignment-in-if-condition + # too many warnings + - -bugprone-narrowing-conversions + # kind of nonsense + - -bugprone-easily-swappable-parameters + # too many warnings for now + - -bugprone-implicit-widening-of-multiplication-result + # Lix's exception handling is Questionable + - -bugprone-empty-catch + # many warnings + - -bugprone-unchecked-optional-access + # many warnings, seems like a questionable lint + - -bugprone-branch-clone |