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
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 option ignoreVoid
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 specifying ignoreVoid: true
it works as in 7.2.0.
const get = async (): Promise<void> => {};
export const useGet = (): void => {
void get();
};
ESLint Config
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/no-floating-promises": ["error"],
},
};
tsconfig
Expected Result
No errors when using void
Actual Result
Even when using void an error is reported
Additional Info
No response