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 f5183c54 authored by Vasilii Iakliushin's avatar Vasilii Iakliushin
Browse files

Update golang-ci configuration to allow imports

Contributes to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/735

**Problem**

depguard linter complains about unknown packages.

**Solution**

Add a configuration with a list of allowed packages.
parent 70ac7ad2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -142,6 +142,18 @@ linters-settings:
- $gostd
- github.com/stretchr/testify
- gitlab.com/gitlab-org/gitlab-shell
- gitlab.com/gitlab-org/labkit
- gitlab.com/gitlab-org/gitaly
- github.com/prometheus/client_golang/prometheus
- github.com/pires/go-proxyproto
- github.com/otiai10/copy
- github.com/hashicorp/go-retryablehttp
- github.com/golang-jwt/jwt
- github.com/mikesmitty/edkey
- github.com/sirupsen/logrus
- github.com/grpc-ecosystem/go-grpc-prometheus
- github.com/mattn/go-shellwords
# list-type: blacklist
# include-go-root: false
# packages:
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