2021-12-08 15:02:48 +08:00
|
|
|
InheritParentConfig: false
|
|
|
|
Checks: 'readability-identifier-naming'
|
|
|
|
HeaderFilterRegex: '.*'
|
|
|
|
CheckOptions:
|
|
|
|
- key: readability-identifier-naming.ClassCase
|
|
|
|
value: CamelCase
|
|
|
|
- key: readability-identifier-naming.StructCase
|
|
|
|
value: aNy_CasE
|
|
|
|
- key: readability-identifier-naming.MemberCase
|
|
|
|
value: lower_case
|
|
|
|
- key: readability-identifier-naming.MemberIgnoredRegexp
|
2023-03-14 22:50:02 +08:00
|
|
|
value: "_?(_[A-Za-z0-9]+)*"
|
2021-12-08 15:02:48 +08:00
|
|
|
- key: readability-identifier-naming.VariableCase
|
|
|
|
value: lower_case
|
|
|
|
- key: readability-identifier-naming.VariableIgnoredRegexp
|
2023-03-14 22:50:02 +08:00
|
|
|
value: "_?(_[A-Za-z0-9]+)*"
|
2021-12-08 15:02:48 +08:00
|
|
|
- key: readability-identifier-naming.FunctionCase
|
|
|
|
value: lower_case
|
|
|
|
- key: readability-identifier-naming.FunctionIgnoredRegexp
|
2023-03-14 22:50:02 +08:00
|
|
|
value: "_?(_[A-Za-z0-9]+)*"
|
2022-01-19 16:33:05 +08:00
|
|
|
- key: readability-identifier-naming.GlobalConstantCase
|
|
|
|
value: UPPER_CASE
|
2023-03-14 22:50:02 +08:00
|
|
|
- key: readability-identifier-naming.LocalConstantIgnoredRegexp
|
|
|
|
value: "[A-Z]+[A-Z0-9]*(_[A-Z0-9]+)*"
|
|
|
|
- key: readability-identifier-naming.ClassConstantCase
|
|
|
|
value: UPPER_CASE
|
2021-12-08 15:02:48 +08:00
|
|
|
- key: readability-identifier-naming.ConstexprVariableCase
|
|
|
|
value: UPPER_CASE
|
|
|
|
- key: readability-identifier-naming.GetConfigPerFile
|
|
|
|
value: true
|