diff options
| author | PancakeTAS <pancake@mgnet.work> | 2026-06-12 13:21:58 +0200 |
|---|---|---|
| committer | PancakeTAS <pancake@mgnet.work> | 2026-06-13 14:42:06 +0200 |
| commit | 54c2a13447914664fc78e1ab19ea717630873998 (patch) | |
| tree | d83bca940d6d55d851c351092260394ad4eef69f /.clang-tidy | |
Initial commit
Diffstat (limited to '.clang-tidy')
| -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 0000000..43da0bb --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,18 @@ +UseColor: true +Checks: +# COMMON: Usually, we keep all checks enabled +- "bugprone-*" +- "misc-*" +- "modernize-*" +- "performance-*" +- "portability-*" +- "readability-*" +# COMMON: Some checks related purely to code-style are disabled +- -readability-function-cognitive-complexity +- -readability-math-missing-parentheses +- -readability-identifier-length +- -readability-magic-numbers +- -readability-else-after-return +- -bugprone-easily-swappable-parameters +- -portability-avoid-pragma-once +- -modernize-macro-to-enum |
