From e85c0eedc49c52d8a1e7cbde5aa25ff6f993e713 Mon Sep 17 00:00:00 2001 From: Yati Padia Date: Sat, 10 Jul 2021 09:29:23 +0530 Subject: [PATCH] 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 --- scripts/golangci.yml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 1e3a986f6..7d513bd51 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -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)`;