testsAndMisc-archive/C/imageViewer/.clang-tidy

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2025-07-14 15:14:19 +02:00
# Clang-tidy configuration for imageViewer project
Checks: >
clang-diagnostic-*,
clang-analyzer-*,
bugprone-*,
cert-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-readability-magic-numbers,
-modernize-use-trailing-return-type,
-cert-err33-c,
-misc-unused-parameters,
2025-07-14 15:29:01 +02:00
-readability-isolate-declaration,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
2025-07-14 15:14:19 +02:00
WarningsAsErrors: ""
2025-07-14 15:14:19 +02:00
HeaderFilterRegex: '.*\.h$'
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: readability-identifier-naming.VariableCase
value: snake_case
- key: readability-identifier-naming.FunctionCase
value: snake_case
- key: readability-identifier-naming.MacroCase
value: UPPER_CASE
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-function-size.LineThreshold
value: 100
- key: readability-function-size.StatementThreshold
value: 50
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: true