We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a408f00 commit 0478c21Copy full SHA for 0478c21
1 file changed
.golangci.yaml
@@ -14,6 +14,18 @@ issues:
14
15
linters-settings:
16
depguard:
17
+ rules:
18
+ main:
19
+ files:
20
+ - $all
21
+ - "!$test"
22
+ deny:
23
+ - pkg: github.com/go-ozzo/ozzo-validation
24
+ desc: "use maintained github.com/invopop/validation fork instead"
25
+ - pkg: github.com/stretchr/testify
26
+ desc: "testify must only be used in test files"
27
+ - pkg: github.com/brianvoe/gofakeit
28
+ desc: "gofakeit must only be used in test files"
29
list-type: denylist
30
packages-with-error-message:
31
- github.com/stretchr/testify/assert: "use github.com/stretchr/testify/require for faster tests"
0 commit comments