forked from KPGPMC/furlang
4a58e97812
Signed-off-by: CHatingPython <chatingpython@gmail.com>
94 lines
2.6 KiB
YAML
Executable File
94 lines
2.6 KiB
YAML
Executable File
---
|
|
Checks: >
|
|
-*,
|
|
|
|
bugprone-*,
|
|
performance-*,
|
|
readability-*,
|
|
portability-*,
|
|
cppcoreguidelines-*,
|
|
|
|
-bugprone-assignment-in-if-condition,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-multi-level-implicit-pointer-conversion,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-magic-numbers,
|
|
-readability-redundant-access-specifiers,
|
|
-readability-use-anyofallof,
|
|
-readability-named-parameter,
|
|
-performance-enum-size,
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
-cppcoreguidelines-pro-type-union-access,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-cppcoreguidelines-avoid-do-while,
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
|
-cppcoreguidelines-avoid-c-arrays,
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
-cppcoreguidelines-macro-usage,
|
|
-cppcoreguidelines-owning-memory,
|
|
-cppcoreguidelines-non-private-member-variables-in-classes
|
|
|
|
WarningsAsErrors: "*"
|
|
|
|
HeaderFilterRegex: ".*"
|
|
|
|
CheckOptions:
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: 3
|
|
|
|
- key: readability-identifier-length.MinimumParameterNameLength
|
|
value: 2
|
|
|
|
- key: readability-identifier-length.MinimumVariableNameLength
|
|
value: 2
|
|
|
|
# Namespaces
|
|
- key: readability-identifier-naming.NamespaceCase
|
|
value: lower_case
|
|
|
|
# Types
|
|
- key: readability-identifier-naming.StructCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: lower_case
|
|
# - key: readability-identifier-naming.AbstractClassPrefix
|
|
# value: I
|
|
|
|
# Functions
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: lower_case
|
|
|
|
# Variables
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: camelBack
|
|
|
|
# Public members
|
|
- key: readability-identifier-naming.PublicMemberCase
|
|
value: camelBack
|
|
|
|
# Static members
|
|
- key: readability-identifier-naming.StaticVariableCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.StaticVariablePrefix
|
|
value: s_
|
|
- key: readability-identifier-naming.ClassMemberCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.ClassMemberPrefix
|
|
value: s_
|
|
|
|
# Static constexpr
|
|
- key: readability-identifier-naming.StaticConstexprVariableCase
|
|
value: aNy_CasE
|
|
|
|
# Constants
|
|
- key: readability-identifier-naming.ConstantCase
|
|
value: aNy_CasE
|
|
- key: readability-identifier-naming.StaticConstantCase
|
|
value: aNy_CasE
|
|
- key: readability-identifier-naming.EnumConstantCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.ScopedEnumConstantCase
|
|
value: CamelCase |