mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
85 lines
3.3 KiB
YAML
85 lines
3.3 KiB
YAML
Checks: >
|
|
bugprone-*,
|
|
clang-analyzer-*,
|
|
cppcoreguidelines-*,
|
|
misc-*,
|
|
modernize-*,
|
|
objc-*,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
-bugprone-assignment-in-if-condition,
|
|
-bugprone-branch-clone,
|
|
-bugprone-casting-through-void,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-exception-escape,
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
|
-bugprone-integer-division,
|
|
-bugprone-misplaced-widening-cast,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-signed-char-misuse,
|
|
-bugprone-string-integer-assignment,
|
|
-bugprone-switch-missing-default-case,
|
|
-bugprone-unchecked-optional-access,
|
|
-clang-analyzer-nullability.NullablePassedToNonnull,
|
|
-clang-analyzer-optin.core.EnumCastOutOfRange,
|
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
|
-clang-analyzer-optin.osx.*,
|
|
-clang-analyzer-osx.*,
|
|
-clang-analyzer-unix.Malloc,
|
|
-cppcoreguidelines-avoid-c-arrays,
|
|
-cppcoreguidelines-avoid-const-or-ref-data-members,
|
|
-cppcoreguidelines-avoid-do-while,
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
|
-cppcoreguidelines-macro-to-enum,
|
|
-cppcoreguidelines-macro-usage,
|
|
-cppcoreguidelines-narrowing-conversions,
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
|
-cppcoreguidelines-owning-memory,
|
|
-cppcoreguidelines-prefer-member-initializer,
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
-cppcoreguidelines-pro-type-const-cast,
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
-cppcoreguidelines-pro-type-static-cast-downcast,
|
|
-cppcoreguidelines-pro-type-union-access,
|
|
-cppcoreguidelines-pro-type-vararg,
|
|
-cppcoreguidelines-rvalue-reference-param-not-moved,
|
|
-cppcoreguidelines-special-member-functions,
|
|
-misc-include-cleaner,
|
|
-misc-misplaced-const,
|
|
-misc-no-recursion,
|
|
-misc-non-private-member-variables-in-classes,
|
|
-modernize-avoid-c-arrays,
|
|
-modernize-macro-to-enum,
|
|
-modernize-use-trailing-return-type,
|
|
-performance-avoid-endl,
|
|
-performance-enum-size,
|
|
-performance-inefficient-string-concatenation,
|
|
-performance-no-int-to-ptr,
|
|
-readability-avoid-nested-conditional-operator,
|
|
-readability-braces-around-statements,
|
|
-readability-convert-member-functions-to-static,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-function-size,
|
|
-readability-identifier-length,
|
|
-readability-implicit-bool-conversion,
|
|
-readability-magic-numbers,
|
|
-readability-named-parameter,
|
|
-readability-redundant-casting,
|
|
-readability-uppercase-literal-suffix,
|
|
CheckOptions:
|
|
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
|
|
- { 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.PrivateMemberCase, value: camelBack }
|
|
- { key: readability-identifier-naming.ProtectedMemberPrefix, value: m_ }
|
|
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ }
|
|
HeaderFilterRegex: '.*'
|
|
WarningsAsErrors: '*'
|
|
UseColor: true
|