We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
predeclared
govet
1 parent bb95ef2 commit 68b0e31Copy full SHA for 68b0e31
2 files changed
.golangci.yaml
@@ -23,8 +23,6 @@ linters:
23
- tenv # Deprecated
24
- varnamelen # maybe later
25
- wsl # disagree with, for now
26
- - predeclared
27
- - govet
28
29
linters-settings:
30
depguard:
pkg/database/api_test.go
@@ -79,6 +79,9 @@ func TestNewAPIDB_Valid(t *testing.T) {
79
80
if db == nil {
81
t.Fatalf("NewAPIDB() db unexpectedly nil")
82
+
83
+ // this is required currently to make the staticcheck linter
84
+ return
85
}
86
87
if !reflect.DeepEqual(db.BaseURL, u) {
0 commit comments