SFML/.clang-tidy
2023-01-18 08:03:10 -07:00

33 lines
1.1 KiB
YAML

Checks: >
-*,
clang-analyzer-*,
modernize-concat-nested-namespaces,
modernize-deprecated-headers,
modernize-loop-convert,
modernize-use-default-member-init,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nullptr,
modernize-use-override,
portability-*,
readability-container-size-empty,
readability-identifier-naming,
readability-isolate-declaration,
-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,
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