Fix CI build issues
MRs created for phosphor-user-manager are failing with below error
```
yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
in "<unicode string>", line 21, column 62:
... fier-naming.ClassCase, value: CamelCase }
^
clang_tidy - FAILED
```
To fix this modified the .clang-tidy file as suggested by CI
Change-Id: Ic48e49d3add01e0cd725a9e7b22abb11764fa275
Signed-off-by: Chandramohan Harkude <chandramohan.harkude@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index d1ca14d..3f97ca7 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,18 +1,26 @@
-Checks: '
- -*,
+Checks: '-*,
bugprone-unchecked-optional-access,
readability-identifier-naming
-'
-
-WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
+ '
CheckOptions:
- - { key: readability-identifier-naming.ClassCase, value: CamelCase }
- - { key: readability-identifier-naming.VariableCase, value: camelBack }
- - { key: readability-identifier-naming.EnumCase, value: CamelCase }
- - { key: readability-identifier-naming.EnumConstantCase, value: camelBack }
- - { key: readability-identifier-naming.FunctionCase, value: camelBack }
- - { key: readability-identifier-naming.ParameterCase, value: camelBack }
- - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- - { key: readability-identifier-naming.StructCase, value: CamelCase }
+- key: readability-identifier-naming.ClassCase
+ value: CamelCase
+- key: readability-identifier-naming.EnumCase
+ value: CamelCase
+- key: readability-identifier-naming.EnumConstantCase
+ value: camelBack
+- key: readability-identifier-naming.FunctionCase
+ value: camelBack
+- key: readability-identifier-naming.NamespaceCase
+ value: lower_case
+- key: readability-identifier-naming.ParameterCase
+ value: camelBack
+- key: readability-identifier-naming.StructCase
+ value: CamelCase
+- key: readability-identifier-naming.VariableCase
+ value: camelBack
+
+HeaderFilterRegex: .*
+
+WarningsAsErrors: '*'