mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
The new naming pattern is CamelCase for structs, except parse_number as a primarily callable interface. Trait structs are named Has*Traits and constexpr variables to the struct template are named Is*. Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
21 lines
968 B
YAML
21 lines
968 B
YAML
Checks:
|
|
-*,
|
|
clang-analyzer-*,
|
|
cppcoreguidelines-avoid-c-arrays,
|
|
cppcoreguidelines-special-member-functions,
|
|
readability-*,
|
|
|
|
CheckOptions:
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.ConstexprVariableCase, value: lower_case }
|
|
- { key: readability-identifier-naming.ConstexprVariableIgnoredRegexp, value: "^Is.+" }
|
|
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
|
- { key: readability-identifier-naming.LocalVariableIgnoredRegexp, value: "^[a-z][a-z_]+" }
|
|
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
|
|
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m }
|
|
- { key: readability-identifier-naming.StructCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.StructIgnoredRegexp, value: "parse_number" }
|
|
- { key: readability-identifier-naming.VariableCase, value: camelBack }
|
|
|
|
HeaderFilterRegex: '.*'
|