Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
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
Description
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
Assignees
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