|
1 | | -Checks: '-*,readability-identifier-naming' |
| 1 | +Checks: |
| 2 | + - '-*' |
| 3 | + - 'readability-identifier-naming' |
| 4 | + - 'cppcoreguidelines-special-member-functions' |
| 5 | + - 'google-explicit-constructor' |
2 | 6 |
|
3 | | -# CamelCase classes, types, structs and enums |
4 | 7 | CheckOptions: |
| 8 | + # CamelCase classes, types, structs and enums |
5 | 9 | - key: readability-identifier-naming.ClassCase |
6 | 10 | value: CamelCase |
| 11 | + - key: readability-identifier-naming.TypedefCase |
| 12 | + value: CamelCase |
7 | 13 | - key: readability-identifier-naming.EnumCase |
8 | 14 | value: CamelCase |
9 | 15 | - key: readability-identifier-naming.StructCase |
10 | 16 | value: CamelCase |
11 | 17 |
|
12 | | -# snake_case functions and variables |
| 18 | + # lower_case functions and variables |
13 | 19 | - key: readability-identifier-naming.FunctionCase |
14 | 20 | value: lower_case |
15 | 21 | - key: readability-identifier-naming.VariableCase |
16 | 22 | value: lower_case |
17 | 23 |
|
18 | | -# underscore suffix for private members (foo_) |
| 24 | + # Underscore suffix for private members (foo_) |
19 | 25 | - key: readability-identifier-naming.PrivateMemberSuffix |
20 | 26 | value: _ |
21 | 27 |
|
22 | | - - key: readability-identifier-naming.MacroCase |
23 | | - value: UPPER_CASE |
| 28 | + # camelBack constants with k prefix (kMaxConnections) |
| 29 | + - key: readability-identifier-naming.ConstantCase |
| 30 | + value: camelBack |
| 31 | + - key: readability-identifier-naming.ConstantPrefix |
| 32 | + value: k |
| 33 | + |
| 34 | + # Rule of three / orthodox cannonical form |
| 35 | + - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions |
| 36 | + value: true |
| 37 | + - key: cppcoreguidelines-special-member-functions.AllowImplicitlyDeletedCopyOrMove |
| 38 | + value: true |
0 commit comments