mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
9b1b0f5b07
Addressed CI complaints Addressed review comments, CI issues Reverted files exempted from linting Fixed missing comma Fixed clang-format escape Disabled spurious readability-non-const-parameter Addressed review comment Moved NOLINT inside namespace per review Remove const from function argument decls Fixed rebase and formatting issues Fixed macOS CI issues
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
Checks: >
|
|
-*,
|
|
clang-analyzer-*,
|
|
modernize-*,
|
|
portability-*,
|
|
readability-*,
|
|
-clang-analyzer-core.NonNullParamChecker,
|
|
-clang-analyzer-core.NullDereference,
|
|
-clang-analyzer-nullability.NullablePassedToNonnull,
|
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
|
-clang-analyzer-optin.osx.*,
|
|
-clang-analyzer-optin.portability.UnixAPI,
|
|
-clang-analyzer-osx.*,
|
|
-clang-analyzer-security.insecureAPI.rand,
|
|
-clang-analyzer-unix.Malloc,
|
|
-modernize-avoid-c-arrays,
|
|
-modernize-macro-to-enum,
|
|
-modernize-pass-by-value,
|
|
-modernize-return-braced-init-list,
|
|
-modernize-use-auto,
|
|
-modernize-use-nodiscard,
|
|
-modernize-use-trailing-return-type,
|
|
-readability-braces-around-statements,
|
|
-readability-container-contains,
|
|
-readability-convert-member-functions-to-static,
|
|
-readability-else-after-return,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-function-size,
|
|
-readability-identifier-length,
|
|
-readability-implicit-bool-conversion,
|
|
-readability-magic-numbers,
|
|
-readability-named-parameter,
|
|
-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 }
|
|
HeaderFilterRegex: '.*'
|
|
WarningsAsErrors: '*'
|
|
UseColor: true
|