Skip to content

remove some init usage #56

remove some init usage

remove some init usage #56

Triggered via push November 15, 2023 07:25
Status Success
Total duration 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
lint: kernel/internal/testing.go#L14
don't use `init` function (gochecknoinits)
lint: kernel/internal/testing.go#L6
import 'github.com/MixinNetwork/mixin/config' is not allowed from list 'Main' (depguard)
lint: kernel/internal/testing.go#L10
inTest is a global variable (gochecknoglobals)
lint: kernel/internal/testing.go#L11
mockRunAggregators is a global variable (gochecknoglobals)
lint: util/base58/base58check_test.go#L68
File is not `gofumpt`-ed (gofumpt)
lint: util/base58/base58_test.go#L29
line is 157 characters (lll)
lint: util/base58/base58_test.go#L66
line is 154 characters (lll)
lint: util/base58/base58_test.go#L67
line is 870 characters (lll)
lint: util/base58/base58check_test.go#L28
line is 167 characters (lll)
lint: util/base58/base58check_test.go#L61
redefines-builtin-id: redefinition of the built-in function len (revive)
lint: kernel/election.go#L194
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
lint: common/custodian.go#L217
unused-parameter: parameter 'store' seems to be unused, consider removing or renaming it as _ (revive)
lint: common/custodian_test.go#L163
unused-parameter: parameter 'require' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/custodian.go#L5
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/info.go#L93
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/consensus_test.go#L1198
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/http.go#L27
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: command.go#L1012
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)