clang-tidy: Initial commit
The clang-tidy configuration file has been initialized with all
recommended C++ category checks. These category checks are currently
disabled, except for one, which has been enabled for initial
validation. This strategy allows developers to progressively
enable the necessary checks over time.
Tested: verified build.
Change-Id: Ifb8e3b5ae3edf6bf525ddb762b827931a9c62871
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..b14abca
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,23 @@
+Checks: '
+-*,
+
+# Categories
+-bugprone-*,
+-cert-*,
+-clang-analyzer-*,
+-cppcoreguidelines-*,
+-misc-*,
+-modernize-*,
+modernize-use-nullptr,
+-performance-*,
+-readability-*,
+'
+
+# Treat all warnings as errors
+WarningsAsErrors: '*'
+
+# Apply checks to all files
+HeaderFilterRegex: '.*'
+
+# Disable automatic formatting
+FormatStyle: none