Skip to content

misc: Add golangci-lint #1

misc: Add golangci-lint

misc: Add golangci-lint #1

Triggered via pull request July 9, 2024 19:17
Status Success
Total duration 1m 46s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/plugin/client_test.go#L35
Error return value of `w.Write` is not checked (errcheck)
lint: pkg/plugin/client_test.go#L48
Error return value of `grf.Dashboard` is not checked (errcheck)
lint: pkg/plugin/client_test.go#L93
Error return value of `grf.PanelPNG` is not checked (errcheck)
lint: pkg/plugin/client_test.go#L141
Error return value of `grf.PanelPNG` is not checked (errcheck)
lint: pkg/plugin/report_test.go#L66
Error return value of `rep.renderPNGsParallel` is not checked (errcheck)
lint: pkg/plugin/report_test.go#L93
Error return value of `rep.generateHTMLFile` is not checked (errcheck)
lint: pkg/plugin/report_test.go#L103
Error return value of `io.Copy` is not checked (errcheck)
lint: pkg/plugin/resources.go#L198
Error return value of `w.Write` is not checked (errcheck)
lint: pkg/plugin/app.go#L116
don't use `init` function (gochecknoinits)
lint: pkg/plugin/client_test.go#L18
don't use `init` function (gochecknoinits)
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2