Skip to content

Lint functions with exactly the same body #2263

@clarfonthey

Description

@clarfonthey

This could probably be an AST check; it doesn't have to be complicated. Just a really simple thing to check if something is an obvious copy-paste error. If two functions have the same body, the user should just call one from the other, or change the bodies so they're not the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-ASTType: Requires working with the AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions