Skip to content

improvements: clean code #65

improvements: clean code

improvements: clean code #65

Triggered via pull request December 4, 2023 16:46
Status Failure
Total duration 2m 32s
Artifacts

pr-validation.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
[GolangCI Lint] pkg/collector/ibc_collector.go#L70: pkg/collector/ibc_collector.go#L70
assignments should only be cuddled with other assignments (wsl)
[GolangCI Lint] pkg/collector/ibc_collector.go#L71: pkg/collector/ibc_collector.go#L71
declarations should never be cuddled (wsl)
[GolangCI Lint] pkg/collector/wallet_balance_collector.go#L39: pkg/collector/wallet_balance_collector.go#L39
assignments should only be cuddled with other assignments (wsl)
[GolangCI Lint] pkg/config/config.go#L44: pkg/config/config.go#L44
structtag: struct field tag `yaml:"rpc" validate` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)
[GolangCI Lint] pkg/config/config.go#L232: pkg/config/config.go#L232
Error return value of `validate.RegisterValidation` is not checked (errcheck)
[GolangCI Lint] pkg/config/config.go#L234: pkg/config/config.go#L234
var-naming: don't use underscores in Go names; var val_arr should be valArr (revive)
[GolangCI Lint] pkg/config/config.go#L249: pkg/config/config.go#L249
File is not `gofumpt`-ed with `-extra` (gofumpt)
[GolangCI Lint] pkg/config/config.go#L250: pkg/config/config.go#L250
block should not end with a whitespace (or comment) (wsl)
Run ReviewDog
reviewdog exited with status code: 1