Add golangci-lint config and CI step #57
ci.yaml
on: pull_request
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)
|