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: differences between recommended and strict configs not mentioned on the website #8712

Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingdocumentationDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
@doberkofler

Description

@doberkofler

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I havesearched for related issues and found none that matched my issue.
  • I haveread the FAQ and my problem is not listed.

Playground Link

The playground does currently not allow to specify 7.3.0

Repro Code

The rule@typescript-eslint/no-floating-promises no longer seems to have the optionignoreVoid set to true by default in 7.3.0.
When upgrading from 7.2.0 to 7.3.0 the following code report an error and only explicitly specifyingignoreVoid: true it works as in 7.2.0.

constget=async():Promise<void>=>{};exportconstuseGet=():void=>{voidget();};

ESLint Config

module.exports={parser:"@typescript-eslint/parser",rules:{"@typescript-eslint/no-floating-promises":["error"],},};

tsconfig

{"compilerOptions": {// ...  }}

Expected Result

No errors when using void

Actual Result

Even when using void an error is reported

Additional Info

No response

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingdocumentationDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

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