As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 8186609a authored by Stan Hu's avatar Stan Hu
Browse files

Merge branch 'ashmckenzie/enable-testifylint' into 'main'

golangci updates and enable testifylint

See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/900



Merged-by: default avatarStan Hu <stanhu@gmail.com>
Approved-by: default avatarStan Hu <stanhu@gmail.com>
Co-authored-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
parents ed5547e8 c91a5c96
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -109,9 +109,6 @@ linters-settings:
# disable:
# - shadow
# disable-all: false
golint:
# minimal confidence for issues, default is 0.8
min-confidence: 0.8
gofmt:
# simplify code: gofmt with `-s` option, true by default
simplify: true
Loading
Loading
@@ -246,6 +243,7 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- funlen
- gocognit
- goconst
Loading
Loading
@@ -253,7 +251,6 @@ linters:
- godox
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
Loading
Loading
@@ -261,10 +258,10 @@ linters:
- interfacer
- misspell
- nakedret
- scopelint
- revive
- staticcheck
- structcheck
- stylecheck
- testifylint
- typecheck
- unconvert
- unparam
Loading
Loading
Loading
Loading
@@ -13,7 +13,7 @@ GOTESTSUM_VERSION := 1.10.0
GOTESTSUM_VERSION_ARCH ?= ${ARCH}
GOTESTSUM_FILE := support/bin/gotestsum-${GOTESTSUM_VERSION}
GOLANGCI_LINT_VERSION := 1.54.2
GOLANGCI_LINT_VERSION := 1.55.2
GOLANGCI_LINT_ARCH ?= ${ARCH}
GOLANGCI_LINT_FILE := support/bin/golangci-lint-${GOLANGCI_LINT_VERSION}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment