Skip to content

Update build

Update build #295

Triggered via pull request July 16, 2024 10:23
Status Failure
Total duration 36s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: langserver/hover.go#L71
cognitive complexity 39 of func `(*server).nodeToDocMarkdown` is high (> 30) (gocognit)
lint: langserver/completion.go#L34
cognitive complexity 32 of func `(*server).Completion` is high (> 30) (gocognit)
lint: langserver/cache/diagnostics.go#L90
commentFormatting: put a space between `//` and comment text (gocritic)
lint: langserver/cache/doc.go#L15
commentFormatting: put a space between `//` and comment text (gocritic)
lint: langserver/completion.go#L114
commentFormatting: put a space between `//` and comment text (gocritic)
lint: langserver/langserver_test.go#L645
argOrder: "abs" and hover.Contents.Value arguments order looks reversed (gocritic)
lint: langserver/langserver_test.go#L382
argOrder: "metric_name" and hover.Contents.Value arguments order looks reversed (gocritic)
lint: langserver/langserver_test.go#L341
argOrder: "sum" and hover.Contents.Value arguments order looks reversed (gocritic)
lint: prometheus/metadata_service.go#L34
Comment should end in a period (godot)
lint: langserver/hover.go#L32
Comment should end in a period (godot)