Nikolas Klauser | 60f0c5e | 2021-11-14 18:37:27 +0100 | [diff] [blame] | 1 | InheritParentConfig: true |
Nikolas Klauser | db267d9 | 2022-03-03 20:07:09 +0100 | [diff] [blame] | 2 | Checks: > |
| 3 | bugprone-copy-constructor-init, |
| 4 | bugprone-dangling-handle, |
| 5 | bugprone-infinite-loop, |
| 6 | |
| 7 | -llvm-else-after-return, |
| 8 | -llvm-header-guard, |
| 9 | -llvm-qualified-auto, |
| 10 | |
| 11 | -misc-unconventional-assign-operator, |
| 12 | |
| 13 | modernize-redundant-void-arg, |
| 14 | |
| 15 | readability-duplicate-include, |
| 16 | readability-function-cognitive-complexity, |
| 17 | readability-function-size, |
| 18 | -readability-identifier-naming, |
| 19 | readability-misplaced-array-index, |
| 20 | readability-redundant-control-flow, |
| 21 | readability-redundant-function-ptr-dereference, |
| 22 | readability-redundant-preprocessor, |
| 23 | readability-simplify-subscript-expr, |
| 24 | readability-uniqueptr-delete-release, |
| 25 | |
| 26 | CheckOptions: |
| 27 | - key: readability-function-cognitive-complexity.Threshold |
| 28 | value: 143 # TODO: bring that number down |
| 29 | - key: readability-function-size.LineThreshold |
| 30 | value: 194 # TODO: bring that number down |
| 31 | |
| 32 | # TODO: investigate these checks |
| 33 | # bugprone-branch-clone, |
| 34 | # bugprone-macro-parentheses, |
| 35 | # cppcoreguidelines-prefer-member-initializer, |
| 36 | # modernize-loop-convert, |
| 37 | # modernize-use-bool-literals, |
| 38 | # modernize-use-default-member-init, |
| 39 | # modernize-use-equals-default, |
| 40 | # modernize-use-equals-delete, |
| 41 | # modernize-use-nullptr, |
| 42 | # modernize-use-override, |
| 43 | # portability-restrict-system-includes, |
| 44 | # readability-function-cognitive-complexity, |
| 45 | # readability-implicit-bool-conversion, |
| 46 | # readability-isolate-declaration, |
| 47 | # readability-redundant-access-specifiers, |
| 48 | # readability-redundant-declaration, |
| 49 | # readability-redundant-member-init, |
| 50 | # readability-simplify-boolean-expr, |