Skip to content

Add a CI linter

Add a CI linter #2

Triggered via pull request March 23, 2025 16:09
@KonradITKonradIT
synchronize #6
linter-in-ci
Status Failure
Total duration 26s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: telemetry/telemetry.go#L69
var-naming: method Json should be JSON (revive)
lint: telemetry/telemetry.go#L36
var-declaration: should drop = 0 from declaration of var lastGoodTrack; it is the zero value (revive)
lint: telemetry/gps5.go#L27
G115: integer overflow conversion uint32 -> int32 (gosec)
lint: telemetry/gps5.go#L24
G115: integer overflow conversion uint32 -> int32 (gosec)
lint: telemetry/gps5.go#L23
G115: integer overflow conversion uint32 -> int32 (gosec)
lint: telemetry/accl.go#L22
G115: integer overflow conversion uint16 -> int16 (gosec)
lint: telemetry/accl.go#L21
G115: integer overflow conversion uint16 -> int16 (gosec)
lint: telemetry/accl.go#L20
G115: integer overflow conversion uint16 -> int16 (gosec)
lint: telemetry/reader.go#L19
cognitive complexity 68 of func `Read` is high (> 30) (gocognit)
lint: telemetry/reader.go#L242
Error return value of `tsmp.Parse` is not checked (errcheck)