mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 13:44:58 +00:00
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
---
|
|
Checks: '-*,
|
|
bugprone-*,
|
|
cert-*,
|
|
clang-analyzer-*,
|
|
cppcoreguidelines-*,
|
|
misc-*,
|
|
modernize-*,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
-modernize-use-trailing-return-type,
|
|
-readability-identifier-length,
|
|
-readability-magic-numbers,
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-cppcoreguidelines-pro-type-vararg,
|
|
-cert-err58-cpp,
|
|
-misc-non-private-member-variables-in-classes,
|
|
-modernize-avoid-c-arrays,
|
|
-cppcoreguidelines-avoid-c-arrays'
|
|
|
|
WarningsAsErrors: 'bugprone-*,cert-*,clang-analyzer-*,performance-*'
|
|
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.NamespaceCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.StructCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.ParameterCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.MemberCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.PrivateMemberSuffix
|
|
value: '_'
|
|
- key: readability-identifier-naming.ConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-function-cognitive-complexity.Threshold
|
|
value: '50'
|
|
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
|
|
value: '1'
|