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