Skip to content

improvements: clean code #66

improvements: clean code

improvements: clean code #66

Triggered via pull request December 6, 2023 09:37
Status Failure
Total duration 2m 16s
Artifacts

pr-validation.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 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#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