|
| 1 | +--- |
| 2 | +Checks: >- |
| 3 | + *, |
| 4 | + -abseil-*, |
| 5 | + -altera-*, |
| 6 | + -android-*, |
| 7 | + -boost-*, |
| 8 | + -bugprone-easily-swappable-parameters, |
| 9 | + -bugprone-implicit-widening-of-multiplication-result, |
| 10 | + -bugprone-multi-level-implicit-pointer-conversion, |
| 11 | + -bugprone-narrowing-conversions, |
| 12 | + -bugprone-signed-char-misuse, |
| 13 | + -bugprone-switch-missing-default-case, |
| 14 | + -cert-dcl50-cpp, |
| 15 | + -cert-err33-c, |
| 16 | + -cert-err58-cpp, |
| 17 | + -cert-oop57-cpp, |
| 18 | + -cert-str34-c, |
| 19 | + -clang-analyzer-optin.core.EnumCastOutOfRange, |
| 20 | + -clang-analyzer-optin.cplusplus.UninitializedObject, |
| 21 | + -clang-analyzer-osx.*, |
| 22 | + -clang-diagnostic-delete-abstract-non-virtual-dtor, |
| 23 | + -clang-diagnostic-delete-non-abstract-non-virtual-dtor, |
| 24 | + -clang-diagnostic-deprecated-declarations, |
| 25 | + -clang-diagnostic-ignored-optimization-argument, |
| 26 | + -clang-diagnostic-missing-field-initializers, |
| 27 | + -clang-diagnostic-shadow-field, |
| 28 | + -clang-diagnostic-unused-const-variable, |
| 29 | + -clang-diagnostic-unused-parameter, |
| 30 | + -clang-diagnostic-vla-cxx-extension, |
| 31 | + -concurrency-*, |
| 32 | + -cppcoreguidelines-avoid-c-arrays, |
| 33 | + -cppcoreguidelines-avoid-const-or-ref-data-members, |
| 34 | + -cppcoreguidelines-avoid-do-while, |
| 35 | + -cppcoreguidelines-avoid-magic-numbers, |
| 36 | + -cppcoreguidelines-init-variables, |
| 37 | + -cppcoreguidelines-macro-to-enum, |
| 38 | + -cppcoreguidelines-macro-usage, |
| 39 | + -cppcoreguidelines-missing-std-forward, |
| 40 | + -cppcoreguidelines-narrowing-conversions, |
| 41 | + -cppcoreguidelines-non-private-member-variables-in-classes, |
| 42 | + -cppcoreguidelines-owning-memory, |
| 43 | + -cppcoreguidelines-prefer-member-initializer, |
| 44 | + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, |
| 45 | + -cppcoreguidelines-pro-bounds-constant-array-index, |
| 46 | + -cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 47 | + -cppcoreguidelines-pro-type-const-cast, |
| 48 | + -cppcoreguidelines-pro-type-cstyle-cast, |
| 49 | + -cppcoreguidelines-pro-type-member-init, |
| 50 | + -cppcoreguidelines-pro-type-reinterpret-cast, |
| 51 | + -cppcoreguidelines-pro-type-static-cast-downcast, |
| 52 | + -cppcoreguidelines-pro-type-union-access, |
| 53 | + -cppcoreguidelines-pro-type-vararg, |
| 54 | + -cppcoreguidelines-rvalue-reference-param-not-moved, |
| 55 | + -cppcoreguidelines-special-member-functions, |
| 56 | + -cppcoreguidelines-use-default-member-init, |
| 57 | + -cppcoreguidelines-virtual-class-destructor, |
| 58 | + -fuchsia-multiple-inheritance, |
| 59 | + -fuchsia-overloaded-operator, |
| 60 | + -fuchsia-statically-constructed-objects, |
| 61 | + -fuchsia-default-arguments-declarations, |
| 62 | + -fuchsia-default-arguments-calls, |
| 63 | + -google-build-using-namespace, |
| 64 | + -google-explicit-constructor, |
| 65 | + -google-readability-braces-around-statements, |
| 66 | + -google-readability-casting, |
| 67 | + -google-readability-namespace-comments, |
| 68 | + -google-readability-todo, |
| 69 | + -google-runtime-references, |
| 70 | + -hicpp-*, |
| 71 | + -llvm-else-after-return, |
| 72 | + -llvm-header-guard, |
| 73 | + -llvm-include-order, |
| 74 | + -llvm-qualified-auto, |
| 75 | + -llvmlibc-*, |
| 76 | + -misc-const-correctness, |
| 77 | + -misc-include-cleaner, |
| 78 | + -misc-no-recursion, |
| 79 | + -misc-non-private-member-variables-in-classes, |
| 80 | + -misc-unused-parameters, |
| 81 | + -misc-use-anonymous-namespace, |
| 82 | + -modernize-avoid-bind, |
| 83 | + -modernize-avoid-c-arrays, |
| 84 | + -modernize-concat-nested-namespaces, |
| 85 | + -modernize-macro-to-enum, |
| 86 | + -modernize-return-braced-init-list, |
| 87 | + -modernize-type-traits, |
| 88 | + -modernize-use-auto, |
| 89 | + -modernize-use-constraints, |
| 90 | + -modernize-use-default-member-init, |
| 91 | + -modernize-use-equals-default, |
| 92 | + -modernize-use-nodiscard, |
| 93 | + -modernize-use-nullptr, |
| 94 | + -modernize-use-nodiscard, |
| 95 | + -modernize-use-nullptr, |
| 96 | + -modernize-use-trailing-return-type, |
| 97 | + -mpi-*, |
| 98 | + -objc-*, |
| 99 | + -performance-enum-size, |
| 100 | + -readability-avoid-nested-conditional-operator, |
| 101 | + -readability-container-contains, |
| 102 | + -readability-container-data-pointer, |
| 103 | + -readability-convert-member-functions-to-static, |
| 104 | + -readability-else-after-return, |
| 105 | + -readability-function-cognitive-complexity, |
| 106 | + -readability-implicit-bool-conversion, |
| 107 | + -readability-isolate-declaration, |
| 108 | + -readability-magic-numbers, |
| 109 | + -readability-make-member-function-const, |
| 110 | + -readability-named-parameter, |
| 111 | + -readability-redundant-casting, |
| 112 | + -readability-redundant-inline-specifier, |
| 113 | + -readability-redundant-member-init, |
| 114 | + -readability-redundant-string-init, |
| 115 | + -readability-uppercase-literal-suffix, |
| 116 | + -readability-use-anyofallof, |
| 117 | +WarningsAsErrors: '*' |
| 118 | +FormatStyle: google |
| 119 | +CheckOptions: |
| 120 | + - key: google-readability-function-size.StatementThreshold |
| 121 | + value: '800' |
| 122 | + - key: google-runtime-int.TypeSuffix |
| 123 | + value: '_t' |
| 124 | + - key: llvm-namespace-comment.ShortNamespaceLines |
| 125 | + value: '10' |
| 126 | + - key: llvm-namespace-comment.SpacesBeforeComments |
| 127 | + value: '2' |
| 128 | + - key: modernize-loop-convert.MaxCopySize |
| 129 | + value: '16' |
| 130 | + - key: modernize-loop-convert.MinConfidence |
| 131 | + value: reasonable |
| 132 | + - key: modernize-loop-convert.NamingStyle |
| 133 | + value: CamelCase |
| 134 | + - key: modernize-pass-by-value.IncludeStyle |
| 135 | + value: llvm |
| 136 | + - key: modernize-replace-auto-ptr.IncludeStyle |
| 137 | + value: llvm |
| 138 | + - key: modernize-use-nullptr.NullMacros |
| 139 | + value: 'NULL' |
| 140 | + - key: modernize-make-unique.MakeSmartPtrFunction |
| 141 | + value: 'make_unique' |
| 142 | + - key: modernize-make-unique.MakeSmartPtrFunctionHeader |
| 143 | + value: 'esphome/core/helpers.h' |
| 144 | + - key: readability-braces-around-statements.ShortStatementLines |
| 145 | + value: 2 |
| 146 | + - key: readability-identifier-naming.LocalVariableCase |
| 147 | + value: 'lower_case' |
| 148 | + - key: readability-identifier-naming.ClassCase |
| 149 | + value: 'CamelCase' |
| 150 | + - key: readability-identifier-naming.StructCase |
| 151 | + value: 'CamelCase' |
| 152 | + - key: readability-identifier-naming.EnumCase |
| 153 | + value: 'CamelCase' |
| 154 | + - key: readability-identifier-naming.EnumConstantCase |
| 155 | + value: 'UPPER_CASE' |
| 156 | + - key: readability-identifier-naming.StaticConstantCase |
| 157 | + value: 'UPPER_CASE' |
| 158 | + - key: readability-identifier-naming.StaticVariableCase |
| 159 | + value: 'lower_case' |
| 160 | + - key: readability-identifier-naming.GlobalConstantCase |
| 161 | + value: 'UPPER_CASE' |
| 162 | + - key: readability-identifier-naming.ParameterCase |
| 163 | + value: 'lower_case' |
| 164 | + - key: readability-identifier-naming.PrivateMemberCase |
| 165 | + value: 'lower_case' |
| 166 | + - key: readability-identifier-naming.PrivateMemberSuffix |
| 167 | + value: '_' |
| 168 | + - key: readability-identifier-naming.PrivateMethodCase |
| 169 | + value: 'lower_case' |
| 170 | + - key: readability-identifier-naming.PrivateMethodSuffix |
| 171 | + value: '_' |
| 172 | + - key: readability-identifier-naming.ClassMemberCase |
| 173 | + value: 'lower_case' |
| 174 | + - key: readability-identifier-naming.ClassMemberCase |
| 175 | + value: 'lower_case' |
| 176 | + - key: readability-identifier-naming.ProtectedMemberCase |
| 177 | + value: 'lower_case' |
| 178 | + - key: readability-identifier-naming.ProtectedMemberSuffix |
| 179 | + value: '_' |
| 180 | + - key: readability-identifier-naming.FunctionCase |
| 181 | + value: 'lower_case' |
| 182 | + - key: readability-identifier-naming.ClassMethodCase |
| 183 | + value: 'lower_case' |
| 184 | + - key: readability-identifier-naming.ProtectedMethodCase |
| 185 | + value: 'lower_case' |
| 186 | + - key: readability-identifier-naming.ProtectedMethodSuffix |
| 187 | + value: '_' |
| 188 | + - key: readability-identifier-naming.VirtualMethodCase |
| 189 | + value: 'lower_case' |
| 190 | + - key: readability-identifier-naming.VirtualMethodSuffix |
| 191 | + value: '' |
| 192 | + - key: readability-qualified-auto.AddConstToQualified |
| 193 | + value: 0 |
| 194 | + - key: readability-identifier-length.MinimumVariableNameLength |
| 195 | + value: 0 |
| 196 | + - key: readability-identifier-length.MinimumParameterNameLength |
| 197 | + value: 0 |
| 198 | + - key: readability-identifier-length.MinimumLoopCounterNameLength |
| 199 | + value: 0 |
0 commit comments