Skip to content

Commit

Permalink
[Chore](clang-tidy)enable readability-function-size.LineThreshold and…
Browse files Browse the repository at this point in the history
… readability-functi…

set readability-function-size.LineThreshold to 80 and enable readability-function-cognitive-complexity
  • Loading branch information
BiteTheDDDDt authored Nov 16, 2023
1 parent 492a22d commit fd6a2cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Checks: |
readability-*,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-function-cognitive-complexity,
-readability-magic-numbers,
-readability-else-after-return,
-readability-inconsistent-declaration-parameter-name,
Expand All @@ -26,3 +25,8 @@ Checks: |
performance-inefficient-algorithm,
performance-move-const-arg
WarningsAsErrors: '*'
CheckOptions:
- key: readability-function-size.LineThreshold
value: '80'
- key: readability-function-cognitive-complexity.Threshold
value: '50'

0 comments on commit fd6a2cb

Please sign in to comment.