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: If85ac3c03ec2f2a22b6434ed8260af7da065fc48
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