We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7650cd0 commit 8f99c15Copy full SHA for 8f99c15
.golangci-lint.yml
@@ -9,13 +9,25 @@ linters-settings:
9
check-shadowing: true
10
golint:
11
min-confidence: 0
12
+ depguard:
13
+ rules:
14
+ main:
15
+ list-mode: lax
16
+ allow:
17
+ - "github.com/hashicorp/go-metrics/compat"
18
+ deny:
19
+ - pkg: "github.com/hashicorp/go-metrics"
20
+ desc: not allowed, use github.com/hashicorp/go-metrics/compat instead
21
+ - pkg: "github.com/armon/go-metrics"
22
23
24
linters:
25
disable-all: true
26
enable:
27
- gofmt
28
#- golint
29
- govet
30
+ - depguard
31
#- varcheck
32
#- typecheck
33
#- gosimple
0 commit comments