Skip to content

@typescript-eslint/no-floating-promises not suitable with no-void #370

@Gerhut

Description

@Gerhut

What version of this package are you using?

18.0.2

What problem do you want to solve?

Resolve the @typescript-eslint/no-floating-promises with void promise, but hit no-void enabled in standard/eslint-config-standard#135

What do you think is the correct solution to this problem?

Just follow the official recommendation, turn on the allowAsAStatement option in no-void rule.

Or

Disable the ignoreVoid.

Are you willing to submit a pull request to implement this change?

Sure

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