Skip to content

Define and use a custom linter for grouped parameter types #2261

Define and use a custom linter for grouped parameter types

Define and use a custom linter for grouped parameter types #2261

Triggered via pull request November 8, 2023 14:28
Status Failure
Total duration 2m 12s
Artifacts

golangci-lint.yml

on: pull_request
GolangCI-Lint
2m 3s
GolangCI-Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
GolangCI-Lint: pkg/storage/prunable/bucket_manager.go#L240
grouped parameter in function "RollbackBucket" (typegroupingcheck)
GolangCI-Lint: pkg/storage/prunable/utils.go#L44
grouped parameter in function "inline function" (typegroupingcheck)
GolangCI-Lint: pkg/storage/storage_pruning.go#L83
grouped result in function "PruneByDepth" (typegroupingcheck)
GolangCI-Lint: pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go#L85
grouped parameter in function "inline function" (typegroupingcheck)
GolangCI-Lint: pkg/protocol/engine/blockdag/inmemoryblockdag/blockdag.go#L93
grouped parameter in function "inline function" (typegroupingcheck)
GolangCI-Lint: pkg/protocol/engine/booker/inmemorybooker/booker.go#L135
grouped parameter in function "inline function" (typegroupingcheck)
GolangCI-Lint: pkg/protocol/engine/booker/inmemorybooker/booker.go#L145
grouped parameter in function "inline function" (typegroupingcheck)
GolangCI-Lint: pkg/votes/utils.go#L3
grouped parameter in function "IsThresholdReached" (typegroupingcheck)
GolangCI-Lint: pkg/protocol/engine/notarization/slotnotarization/manager.go#L166
grouped parameter in function "isCommittable" (typegroupingcheck)
GolangCI-Lint: pkg/protocol/engine/tipmanager/v1/tip_metadata.go#L103
grouped parameter in function "inline function" (typegroupingcheck)