We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5280755 commit ca1e9f1Copy full SHA for ca1e9f1
2 files changed
.golangci.yml
@@ -14,6 +14,9 @@ linters:
14
- linters:
15
- err113
16
path: _test\.go
17
+ - linters:
18
+ - err113
19
+ text: "do not define dynamic errors, use wrapped static errors instead"
20
21
- dupl
22
path: pkg/provider/.*\.go
pkg/nameserver/getlocal_unix.go
@@ -62,5 +62,5 @@ func joinErrs(errs []error) error {
62
for i := range errs {
63
args[i] = errs[i]
64
}
65
- return fmt.Errorf(format, args...) //nolint:err113
+ return fmt.Errorf(format, args...)
66
0 commit comments