Skip to content

Commit

Permalink
Make staticcheck be more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Apr 14, 2024
1 parent 0035c6f commit 5cf6090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rendezvous/rendezvousservertest/rendezvousservertest.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (ts *TestServer) handleWS(w http.ResponseWriter, r *http.Request) {
sendMsg(ack)
}

errMsg := func(id string, orig interface{}, reason error) {
errMsg := func(_ string, orig interface{}, reason error) {
errPacket := &msgs.Error{
Error: reason.Error(),
Orig: orig,
Expand Down
1 change: 1 addition & 0 deletions staticcheck.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
checks = ["inherit", "ST1003", "ST1016", "ST1020", "ST1021", "ST1022"]

0 comments on commit 5cf6090

Please sign in to comment.