clang-tidy: Add cert checks

clang-tidy provides a wide range of checks, including those that
cover CERT guidelines, through various modules and checks
specifically designed to catch potential security vulnerabilities and
non-compliance with secure coding standards.

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: If349a29226649524cfef0123f8e306ab22e63e67
diff --git a/.clang-tidy b/.clang-tidy
index ecf982d..03925db 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -54,7 +54,36 @@
 bugprone-unused-raii,
 bugprone-unused-return-value,
 bugprone-use-after-move,
-bugprone-virtual-near-miss'
+bugprone-virtual-near-miss,
+cert-con36-c,
+cert-con54-cpp,
+cert-dcl03-c,
+cert-dcl16-c,
+cert-dcl21-cpp,
+cert-dcl50-cpp,
+cert-dcl54-cpp,
+cert-dcl58-cpp,
+cert-dcl59-cpp,
+cert-err09-cpp,
+cert-err34-c,
+cert-err52-cpp,
+cert-err60-cpp,
+cert-err61-cpp,
+cert-fio38-c,
+cert-flp30-c,
+cert-mem57-cpp,
+cert-msc30-c,
+cert-msc32-c,
+cert-msc50-cpp,
+cert-msc51-cpp,
+cert-oop11-cpp,
+cert-oop54-cpp,
+cert-oop57-cpp,
+cert-oop58-cpp,
+cert-pos44-c,
+cert-pos47-c,
+cert-sig30-c,
+cert-str34-c'
 
 WarningsAsErrors: '*'
 HeaderFilterRegex: '.*'