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
const maybeErrback = () => {
let a = 1;
return a ? (function () { })() : a;
};
export default {}
ESLint Config
module.exports = {
"rules": {"@typescript-eslint/no-confusing-void-expression": "error"}
}
tsconfig
Expected Result
Don't report it or disable automatic fixes.
Actual Result
was wrongly fixed.
const maybeErrback = () => {
let a = 1;
a ? (function () { })() : a;
};
export default {}
Additional Info
No response