feat: upgrade golangci-lint to v2 #866
Annotations
10 errors
|
lint:
cmd/mcpcurl/main.go#L90
exported: exported type Response should have comment or be unexported (revive)
|
|
lint:
cmd/mcpcurl/main.go#L86
exported: exported type ResponseResult should have comment or be unexported (revive)
|
|
lint:
cmd/mcpcurl/main.go#L80
exported: comment on exported type Content should be of the form "Content ..." (with optional leading article) (revive)
|
|
lint:
internal/ghmcp/server.go#L173
G302: Expect file permissions to be 0600 or less (gosec)
|
|
lint:
cmd/mcpcurl/main.go#L159
File is not properly formatted (golines)
|
|
lint:
cmd/github-mcp-server/main.go#L69
File is not properly formatted (golines)
|
|
lint:
internal/ghmcp/server.go#L17
File is not properly formatted (gci)
|
|
lint:
pkg/github/repositories.go#L637
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
lint:
pkg/github/repositories.go#L625
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
lint:
pkg/github/repositories.go#L615
Error return value of `resp.Body.Close` is not checked (errcheck)
|