glove/.clang-tidy
2026-07-19 21:06:11 -04:00

57 lines
1.6 KiB
YAML

---
Checks: >
-*,
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
hicpp-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-hicpp-avoid-c-arrays,
-hicpp-no-array-decay,
-misc-include-cleaner,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
-modernize-use-std-print,
-modernize-use-trailing-return-type,
-portability-avoid-pragma-once,
-readability-identifier-length,
-readability-magic-numbers,
-readability-use-concise-preprocessor-directives
WarningsAsErrors: ''
HeaderFilterRegex: '(include/glove|src)/.*'
FormatStyle: file
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: lower_case
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
- key: readability-identifier-naming.ConstantCase
value: lower_case
- key: readability-identifier-naming.EnumCase
value: lower_case
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: 'true'