From f6d956b5ec8300b6cb313baf6887888ae8eb8e22 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Fri, 24 Dec 2021 01:40:03 +0000 Subject: [PATCH] Cirrus: Mark varnamelen as non-mandatory. It can be re-enabled after golangci-lint v1.44 is released, which includes a fix for https://github.com/blizzy78/varnamelen/issues/1 . --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1ee0959..052334e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -59,7 +59,8 @@ task: GOLANGCI_ARGS: "--new-from-rev=HEAD~" - name: "Go Lint $GOOS Mandatory$MODULES_NAME" env: - GOLANGCI_ARGS: "--disable=cyclop,deadcode,errcheck,errorlint,exhaustivestruct,forbidigo,forcetypeassert,funlen,gci,gocognit,gocritic,godot,godox,goerr113,gofumpt,goimports,golint,gosec,gosimple,govet,ineffassign,lll,maligned,nakedret,nestif,nilerr,nlreturn,paralleltest,revive,scopelint,staticcheck,stylecheck,thelper,unconvert,unparam,unused,wastedassign,whitespace,wrapcheck,wsl" + # TODO: Re-enable varnamelen after golangci-lint v1.44 is released. + GOLANGCI_ARGS: "--disable=cyclop,deadcode,errcheck,errorlint,exhaustivestruct,forbidigo,forcetypeassert,funlen,gci,gocognit,gocritic,godot,godox,goerr113,gofumpt,goimports,golint,gosec,gosimple,govet,ineffassign,lll,maligned,nakedret,nestif,nilerr,nlreturn,paralleltest,revive,scopelint,staticcheck,stylecheck,thelper,unconvert,unparam,unused,varnamelen,wastedassign,whitespace,wrapcheck,wsl" - name: "Go Lint $GOOS$MODULES_NAME" env: GOLANGCI_ARGS: ""