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