eslint-plugin-no-floating-promise icon indicating copy to clipboard operation
eslint-plugin-no-floating-promise copied to clipboard

Does not detect anonymous function expressions

Open silverwind opened this issue 3 years ago • 2 comments

This works and is detected:

async function a() {};
a();

But this is not detected (and passes):

const a = async () => {};
a();

silverwind avatar Mar 18 '21 14:03 silverwind