Skip to content

linter

linter #1

Triggered via pull request October 19, 2024 16:22
Status Failure
Total duration 31s
Artifacts

linter.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: flow/flow.go#L792
Error return value of `w.Write` is not checked (errcheck)
lint: pkg/http/http_test.go#L244
cognitive complexity 48 of func `TestRequestWithContext` is high (> 45) (gocognit)
lint: webhooks/message/message.go#L378
cognitive complexity 54 of func `(*Handlers).handleNotificationMessage` is high (> 45) (gocognit)
lint: whatsapp_test.go#L7
commentFormatting: put a space between `//` and comment text (gocritic)
lint: flow/flow.go#L808
appendAssign: append result not assigned to the same slice (gocritic)
lint: webhooks/webhooks.go#L282
Comment should end in a period (godot)
lint: pkg/http/http.go#L359
Comment should end in a period (godot)
lint: auth/auth.go#L174
Comment should end in a period (godot)
lint: auth/auth.go#L332
G101: Potential hardcoded credentials (gosec)
lint: auth/auth.go#L335
G101: Potential hardcoded credentials (gosec)