Cirrus: Mark dupword linter as non-mandatory

Refs https://github.com/namecoin/ncdns/issues/166
pull/167/head
Jeremy Rand 2 years ago
parent e34e684cb6
commit decb898b0e
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -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: ""

Loading…
Cancel
Save