ci: set max-complexity of cyclop as 20

This commit sets the value of max-
complexity of cyclop linter as 20

Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
Yati Padia 2021-07-10 09:29:23 +05:30 committed by mergify[bot]
parent 45b40661e2
commit e85c0eedc4

View File

@ -51,6 +51,8 @@ output:
# all available settings of specific linters
linters-settings:
cyclop:
max-complexity: 20
errcheck:
# report about not checking of errors in type assetions:
# `a := b.(MyStruct)`;