Skip to content

no-expression-statements: allow Promise<void> when ignoreVoid is true #865

@pdlug

Description

@pdlug

Suggestion

Currently no-expression-statements generates an error when ignoreVoid is true and the function being called returns Promise<void>. This is unexpected and it would be more uniform behavior if both void and Promise<void> return types were treated the same when ignoreVoid is set.

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