diff options
author | Ed Tanous <ed@tanous.net> | 2020-09-29 02:43:15 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-10-07 21:39:41 +0300 |
commit | b0bb6f256214ee33782c7c8d00bcf3fa52ae63c1 (patch) | |
tree | d9a05a37957376490e57286acd20e76f704b6837 /.clang-tidy | |
parent | 5fb91ba400e0482813cf5e1a86fdca17468d0a6a (diff) | |
download | bmcweb-b0bb6f256214ee33782c7c8d00bcf3fa52ae63c1.tar.xz |
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>
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000000..33b096066b --- /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 } + |