From decb898b0efc80f499d757b19a8df8a8489a30ba Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Fri, 7 Oct 2022 07:55:43 +0000 Subject: [PATCH] Cirrus: Mark dupword linter as non-mandatory Refs https://github.com/namecoin/ncdns/issues/166 --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 54ef12d..d43df03 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -60,8 +60,9 @@ task: GOLANGCI_ARGS: "--new-from-rev=HEAD~" - name: "Go Lint $GOOS Mandatory$MODULES_NAME" env: + # TODO: Re-enable dupword after ncdns issue #166 is fixed. # TODO: Re-enable varnamelen after golangci-lint v1.44 is released. - GOLANGCI_ARGS: "--disable=cyclop,deadcode,errorlint,exhaustivestruct,forbidigo,forcetypeassert,funlen,gci,gocognit,gocritic,godot,godox,goerr113,gofumpt,goimports,golint,gosec,gosimple,govet,ineffassign,lll,maligned,nakedret,nestif,nilerr,nlreturn,nonamedreturns,paralleltest,revive,scopelint,staticcheck,stylecheck,thelper,unconvert,unparam,unused,varnamelen,wastedassign,whitespace,wrapcheck,wsl" + GOLANGCI_ARGS: "--disable=cyclop,deadcode,dupword,errorlint,exhaustivestruct,forbidigo,forcetypeassert,funlen,gci,gocognit,gocritic,godot,godox,goerr113,gofumpt,goimports,golint,gosec,gosimple,govet,ineffassign,lll,maligned,nakedret,nestif,nilerr,nlreturn,nonamedreturns,paralleltest,revive,scopelint,staticcheck,stylecheck,thelper,unconvert,unparam,unused,varnamelen,wastedassign,whitespace,wrapcheck,wsl" - name: "Go Lint $GOOS$MODULES_NAME" env: GOLANGCI_ARGS: ""