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 .
pull/151/head
Jeremy Rand 2 years ago
parent f4fcb01220
commit f6d956b5ec
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

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

Loading…
Cancel
Save