Skip to content

Add the receiver name length check to rule.receiver-naming #1040

@ytnsym

Description

@ytnsym

Is your feature request related to a problem? Please describe.
I would like to check the length of receiver variable names.

Describe the solution you'd like
Add the receiver variable name length check to the receiver-naming rule.

Describe alternatives you've considered
I created a linter, but it seemed like it would be better to improve the receiver-naming rule.

Additional context
golangci/golangci-lint#5007 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions