Skip to content

Commit

Permalink
fix depguard v2 config
Browse files Browse the repository at this point in the history
  • Loading branch information
thevilledev committed Aug 16, 2023
1 parent e770f4a commit df3080d
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,38 @@ linters-settings:
recommendations:
- google.golang.org/protobuf
depguard:
list-type: denylist
include-go-root: true
rules:
main:
# List of file globs that will match this list of settings to compare against.
# Default: $all
files:
- $all
# List of allowed packages.
allow:
- $gostd
- github.com/BurntSushi/toml
- github.com/Masterminds/sprig/v3
- github.com/davecgh/go-spew/spew
- github.com/hashicorp/consul-template
- github.com/hashicorp/consul/api
- github.com/hashicorp/consul/sdk/testutil
- github.com/hashicorp/go-gatedio
- github.com/hashicorp/go-hclog
- github.com/hashicorp/go-multierror
- github.com/hashicorp/go-rootcerts
- github.com/hashicorp/go-sockaddr/template
- github.com/hashicorp/go-syslog
- github.com/hashicorp/hcl
- github.com/hashicorp/logutils
- github.com/hashicorp/nomad/api
- github.com/hashicorp/vault/api
- github.com/imdario/mergo
- github.com/mitchellh/go-homedir
- github.com/mitchellh/hashstructure
- github.com/mitchellh/mapstructure
- github.com/pkg/errors
- github.com/stretchr/testify/assert
- github.com/stretchr/testify/require

run:
timeout: 10m
Expand Down

0 comments on commit df3080d

Please sign in to comment.