SFML/.clang-tidy

59 lines
1.9 KiB
Plaintext
Raw Normal View History

Checks: >
-*,
2023-02-03 14:31:48 +08:00
bugprone-*,
clang-analyzer-*,
2023-01-16 14:14:02 +08:00
misc-*,
modernize-*,
2023-04-09 02:51:35 +08:00
performance-*,
2023-01-16 13:42:32 +08:00
portability-*,
readability-*,
2023-02-03 14:31:48 +08:00
-bugprone-assignment-in-if-condition,
-bugprone-branch-clone,
-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-suspicious-include,
2023-09-23 03:03:27 +08:00
-bugprone-switch-missing-default-case,
2023-02-03 14:31:48 +08:00
-bugprone-unchecked-optional-access,
-clang-analyzer-nullability.NullablePassedToNonnull,
-clang-analyzer-optin.cplusplus.VirtualCall,
-clang-analyzer-optin.osx.*,
-clang-analyzer-osx.*,
-clang-analyzer-unix.Malloc,
2023-09-23 03:03:27 +08:00
-misc-header-include-cycle,
-misc-include-cleaner,
2023-01-16 14:14:02 +08:00
-misc-misplaced-const,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-modernize-avoid-c-arrays,
-modernize-macro-to-enum,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
2023-09-23 03:03:27 +08:00
-performance-avoid-endl,
2023-04-09 02:51:35 +08:00
-performance-inefficient-string-concatenation,
-performance-no-int-to-ptr,
-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,
2022-10-18 08:44:31 +08:00
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
2022-10-24 06:53:36 +08:00
- { key: readability-identifier-naming.VariableCase, value: camelBack }
2022-10-24 05:17:57 +08:00
- { key: readability-identifier-naming.ParameterCase, value: camelBack }
HeaderFilterRegex: '.*'
WarningsAsErrors: '*'
2023-01-14 08:16:42 +08:00
UseColor: true