Skip to content

cleanup: rename unused parameters and receivers to _ #1618

cleanup: rename unused parameters and receivers to _

cleanup: rename unused parameters and receivers to _ #1618

Triggered via pull request September 24, 2023 06:47
Status Success
Total duration 1m 0s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint: lint/config.go#L36
receiver name rcfg should be consistent with previous receiver name rc for RuleConfig
Lint: rule/enforce-map-style.go#L144
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/superfluous-else.go#L23
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/enforce-slice-style.go#L168
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/indent-error-flow.go#L22
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/constant-logical-expr.go#L14
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/constant-logical-expr.go#L75
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/constant-logical-expr.go#L66
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/constant-logical-expr.go#L84
receiver name should not be an underscore, omit the name if it is unused
Lint: rule/early-return.go#L25
receiver name should not be an underscore, omit the name if it is unused