|
| 1 | +--- |
| 2 | +# DO NOT MODIFY DIRECTLY THIS FILE |
| 3 | +# LOOK AT https://github.com/Geode-solutions/actions |
| 4 | +# Configure clang-tidy for this project. |
| 5 | +Checks: > |
| 6 | + *, |
| 7 | + -altera*, |
| 8 | + -fuchsia*, |
| 9 | + -llvmlibc*, |
| 10 | + -llvm-header-guard, |
| 11 | + -misc-no-recursion, |
| 12 | + -modernize-use-trailing-return-type, |
| 13 | + -readability-redundant-access-specifiers, |
| 14 | + -readability-convert-member-functions-to-static, |
| 15 | + -cppcoreguidelines-avoid-const-or-ref-data-members |
| 16 | +
|
| 17 | +CheckOptions: |
| 18 | + - key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic |
| 19 | + value: '1' |
| 20 | + - key: readability-identifier-length.MinimumLoopCounterNameLength |
| 21 | + value: 1 |
| 22 | + - key: readability-identifier-length.IgnoredVariableNames |
| 23 | + value: '^[defijkptuvw]$' |
| 24 | + # More options here: https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html |
| 25 | + - key: readability-identifier-naming.NamespaceCase |
| 26 | + value: lower_case |
| 27 | + - key: readability-identifier-naming.ClassCase |
| 28 | + value: CamelCase |
| 29 | + - key: readability-identifier-naming.StructCase |
| 30 | + value: CamelCase |
| 31 | + - key: readability-identifier-naming.FunctionCase |
| 32 | + value: lower_case |
| 33 | + - key: readability-identifier-naming.VariableCase |
| 34 | + value: lower_case |
| 35 | + - key: readability-identifier-naming.ConstexprVariableCase |
| 36 | + value: UPPER_CASE |
| 37 | + - key: readability-identifier-naming.ConstexprVariableIgnoredRegexp |
| 38 | + value: dim.* |
| 39 | + - key: readability-identifier-naming.PrivateMemberSuffix |
| 40 | + value: _ |
| 41 | + - key: readability-identifier-naming.MacroDefinitionCase |
| 42 | + value: UPPER_CASE |
| 43 | + - key: readability-identifier-naming.EnumCase |
| 44 | + value: UPPER_CASE |
| 45 | + - key: readability-identifier-naming.EnumConstantCase |
| 46 | + value: lower_case |
| 47 | + - key: readability-identifier-naming.GlobalConstantCase |
| 48 | + value: UPPER_CASE |
| 49 | + - key: readability-identifier-naming.GlobalConstantIgnoredRegexp |
| 50 | + value: dimension |
| 51 | + - key: readability-identifier-naming.GlobalFunctionCase |
| 52 | + value: lower_case |
| 53 | + - key: readability-identifier-naming.MemberConstantCase |
| 54 | + value: CamelCase |
| 55 | + - key: readability-identifier-naming.StaticConstantCase |
| 56 | + value: lower_case |
| 57 | + - key: readability-function-cognitive-complexity.Threshold |
| 58 | + value: 10 |
| 59 | + - key: readability-function-size.ParameterThreshold |
| 60 | + value: 4 |
| 61 | + - key: misc-include-cleaner.IgnoreHeaders |
| 62 | + value: utility;cstddef;geode/.*_export\.h;geode/.*/common\.h;geode/basic/types\.h;geode/basic/assert\.h; |
| 63 | + |
| 64 | + |
0 commit comments