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

Docs:return-await options are misleading #11102

Open
Labels
accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating
@RobertStanyon

Description

@RobertStanyon

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

Under "Options", it has:

This rule accepts the following options, and has more strict settings in thestrict andstrict-type-checked configs.

...

const defaultOptionsRecommended: Options = ['in-try-catch'];

// These options are merged on top of the recommended defaults
const defaultOptionsStrict: Options = ['error-handling-correctness-only'];

Which implies that the rule is part of the recommended config, while in reality the rule is not enabled in the recommended config, only in the strict config.

Affected URL(s)

https://typescript-eslint.io/rules/return-await/

Additional Info

Somewhat related -#10423. The rule no longer explicitly claims at the top to be part of@typescript-eslint/recommended-type-checked, but still implies it is in the body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating

    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