From 9e435db454f968d7b2a78bbda012e1c14277545e Mon Sep 17 00:00:00 2001 From: Yug Date: Sun, 12 Jul 2020 18:31:46 +0530 Subject: [PATCH] ci: disable nestif linter The `nestif` linter reports deeply nested if statements. Disabled `nestif` as of now to avoid regression and needs to addressed seperately. Tracking Issue: #1229 Signed-off-by: Yug --- scripts/golangci.yml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/golangci.yml.in b/scripts/golangci.yml.in index 3199420cc..2dd145f49 100644 --- a/scripts/golangci.yml.in +++ b/scripts/golangci.yml.in @@ -165,3 +165,5 @@ linters: - wsl - funlen - testpackage + # TODO: enable nestif, see: https://github.com/ceph/ceph-csi/issues/1229 + - nestif