Closed
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 have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Playground Link
Repro Code
function cool (input: string) {
return (console.log(input), input)
}
ESLint Config
{
"rules": {
"@typescript-eslint/no-confusing-void-expression": "error"
}
}
tsconfig
No response
Expected Result
No error
Actual Result
Placing a void expression inside another expression is forbidden. Move it to its own statement instead. 2:11 - 2:29
Additional Info
No response