Skip to content

prefer-noop shouldn't trigger if a function has comment inside #272

@feimosi

Description

@feimosi

I think it's quite convenient to put a comment inside an empty function explaining why it's empty e.g.
onClick = () => { /* TODO: */ }
or
run(() => { /* Types require to pass a function */ }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions