Skip to content

Add golangci-lint config and CI step #57

Add golangci-lint config and CI step

Add golangci-lint config and CI step #57

Triggered via pull request March 25, 2024 05:03
@FrostmanFrostman
synchronize #433
lint
Status Failure
Total duration 6m 4s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
test: pkg/dhcpd/dhcphandlers_test.go#L198
return with no blank line before (nlreturn)
test: pkg/dhcpd/dhcphandlers_test.go#L257
return with no blank line before (nlreturn)
test: pkg/dhcpd/dhcphandlers_test.go#L267
return with no blank line before (nlreturn)
test: pkg/dhcpd/dhcphandlers.go#L30
directive `//nolint:unused` is unused for linter "unused" (nolintlint)
test: pkg/dhcpd/dhcphandlers.go#L101
directive `//nolint:unused` is unused for linter "unused" (nolintlint)
test: pkg/dhcpd/dhcphandlers.go#L170
directive `//nolint:unused` is unused for linter "unused" (nolintlint)
test
issues found
test: pkg/dhcpd/dhcphandlers_test.go#L814
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
test: pkg/dhcpd/dhcphandlers_test.go#L833
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)