Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: @typescript-eslint/require-await should not be recommended #11731

Open
Labels
evaluating community engagementwe're looking for community engagement on this issue to show that this problem is widely importantpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginpreset config changeProposal for an addition, removal, or general change to a preset config
@runspired

Description

@runspired

Recommended rules should represent best practices. At a minimum, using async without awaitis not a bad practice, and in most usages it represents a best practice helping to safeguard the invocation and API surface. The alternative is both more brittle and more verbose, prone to accidentally leaking synchronously thrown errors.

What's more, linting against using recommended language features - especially in a way that changes behavior - is just odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    evaluating community engagementwe're looking for community engagement on this issue to show that this problem is widely importantpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginpreset config changeProposal for an addition, removal, or general change to a preset config

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp