diff options
Diffstat (limited to 'archived/projt-launcher/.clang-tidy')
| -rw-r--r-- | archived/projt-launcher/.clang-tidy | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/archived/projt-launcher/.clang-tidy b/archived/projt-launcher/.clang-tidy new file mode 100644 index 0000000000..fde2d7e609 --- /dev/null +++ b/archived/projt-launcher/.clang-tidy @@ -0,0 +1,48 @@ +Checks: > + # Enable core static analysis checks + clang-analyzer-*, + + # Best practices and maintainability + cppcoreguidelines-*, + modernize-*, + -modernize-use-trailing-return-type, + performance-*, + readability-*, + + # Catch potential bugs + bugprone-*, + misc-*, + + # Ensure safer memory management + cert-*, + + # Security checks + security-*, + + # Avoid shadowing issues + clang-analyzer-core.Shadowing, + cppcoreguidelines-avoid-variable-shadowing + +# This file mirrors quazip/.clang-tidy and is placed at repository root.Checks: + - modernize-use-using + - readability-avoid-const-params-in-decls + - misc-unused-parameters, + - readability-identifier-naming + +# ^ Without unused-parameters the readability-identifier-naming check doesn't cause any warnings. + +CheckOptions: + - { key: readability-identifier-naming.ClassCase, value: PascalCase } + - { key: readability-identifier-naming.EnumCase, value: PascalCase } + - { key: readability-identifier-naming.FunctionCase, value: camelCase } + - { key: readability-identifier-naming.GlobalVariableCase, value: camelCase } + - { key: readability-identifier-naming.GlobalFunctionCase, value: camelCase } + - { key: readability-identifier-naming.GlobalConstantCase, value: SCREAMING_SNAKE_CASE } + - { key: readability-identifier-naming.MacroDefinitionCase, value: SCREAMING_SNAKE_CASE } + - { key: readability-identifier-naming.ClassMemberCase, value: camelCase } + - { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ } + - { key: readability-identifier-naming.ProtectedMemberPrefix, value: m_ } + - { key: readability-identifier-naming.PrivateStaticMemberPrefix, value: s_ } + - { key: readability-identifier-naming.ProtectedStaticMemberPrefix, value: s_ } + - { key: readability-identifier-naming.PublicStaticConstantCase, value: SCREAMING_SNAKE_CASE } + - { key: readability-identifier-naming.EnumConstantCase, value: SCREAMING_SNAKE_CASE }
\ No newline at end of file |
