Skip to content

Add golangci lint

Add golangci lint #3

Triggered via pull request March 4, 2024 21:18
Status Failure
Total duration 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: wrappers/bool_test.go#L186
186-263 lines are duplicate of `wrappers/bool_test.go:287-364` (dupl)
lint: wrappers/bool_test.go#L287
287-364 lines are duplicate of `wrappers/bool_test.go:186-263` (dupl)
lint: encoder_test.go#L10
10-107 lines are duplicate of `encoder_test.go:110-204` (dupl)
lint: encoder_test.go#L110
110-204 lines are duplicate of `encoder_test.go:10-107` (dupl)
lint: blocks_test.go#L98
98-122 lines are duplicate of `blocks_test.go:123-147` (dupl)
lint: blocks_test.go#L123
123-147 lines are duplicate of `blocks_test.go:98-122` (dupl)
lint: wrappers/bool.go#L37
Error return value of `e.EncodeElement` is not checked (errcheck)
lint: wrappers/bool.go#L45
Error return value of `d.DecodeElement` is not checked (errcheck)
lint: wrappers/bool.go#L97
Error return value of `e.EncodeElement` is not checked (errcheck)
lint: wrappers/bool.go#L105
Error return value of `d.DecodeElement` is not checked (errcheck)
lint: group.go#L66
unused-parameter: parameter 'start' seems to be unused, consider removing or renaming it as _ (revive)