From 6e0a576b2ccaa33c907a0e343586a98895bea3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Fri, 1 Aug 2025 20:05:01 +0100 Subject: [PATCH] chore: add clang-format/tidy --- .clang-format | 2 ++ .clang-tidy | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .clang-format create mode 100644 .clang-tidy diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..9f3e95c --- /dev/null +++ b/.clang-format @@ -0,0 +1,2 @@ +--- +BasedOnStyle: Google diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..9248b65 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,15 @@ +--- +Checks: + - boost-* + - bugprone-* + - clang-analyzer-* + - concurrency-* + - cppcoreguidelines-* + - misc-* + - modernize-* + - performance-* + - portability-* + - readability-* + - -readability-identifier-length +FormatStyle: file +WarningsAsErrors: "*"