Skip to content

Add NakedretBear #2504

Open
Open
@Makman2

Description

@Makman2

Implement a new linter bear that wraps https://github.com/alexkohler/nakedret
nakedret checks for functions whether they use so called "naked returns" in go, when they exceed a specified length. If a function is very long, naked returns hinder readability and maintenance. They should be avoided in such cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions