Skip to content

ci: enable golangci-lint #361

ci: enable golangci-lint

ci: enable golangci-lint #361

Triggered via pull request December 6, 2024 21:38
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: internal/notifications/notifications.go#L67
var-naming: struct field LatestCommentUrl should be LatestCommentURL (revive)
golangci-lint: internal/notifications/notifications.go#L21
var-naming: struct field Id should be ID (revive)
golangci-lint: internal/jq/jq.go#L48
var-naming: var newId should be newID (revive)
golangci-lint: internal/actions/pass/pass.go#L14
receiver-naming: receiver name should not be an underscore, omit the name if it is unused (revive)
golangci-lint: internal/actions/hide/hide.go#L19
receiver-naming: receiver name should not be an underscore, omit the name if it is unused (revive)
golangci-lint: internal/actions/print/print.go#L15
receiver-naming: receiver name should not be an underscore, omit the name if it is unused (revive)
golangci-lint: internal/actions/json/json.go#L21
`marshalled` is a misspelling of `marshaled` (misspell)
golangci-lint: internal/cache/cache.go#L101
`marshalled` is a misspelling of `marshaled` (misspell)
golangci-lint: internal/cache/cache.go#L92
`marshalled` is a misspelling of `marshaled` (misspell)
golangci-lint: internal/repl/handlers.go#L111
Error return value of `(github.com/nobe4/gh-not/internal/actions.Runner).Run` is not checked (errcheck)