Check in clang-tidy file for variable naming
Tested:
ran clang-tidy on bmcweb codebase per instructions in previous commit,
and resolved errors it found.
Change-Id: I5cffb6e6e98517cee3bb366e8ab34dd8d6419782
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..33b0960
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,11 @@
+Checks: '-*,readability-identifier-naming'
+WarningsAsErrors: '-*,readability-identifier-naming'
+HeaderFilterRegex: '.*'
+CheckOptions:
+ - { key: readability-identifier-naming.ClassCase, value: CamelCase }
+ - { key: readability-identifier-naming.VariableCase, value: camelBack }
+ - { key: readability-identifier-naming.FunctionCase, value: camelBack }
+ - { key: readability-identifier-naming.ParameterCase, value: lowerCamel }
+ - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
+ - { key: readability-identifier-naming.StructCase, value: CamelCase }
+