eslint-plugin-no-floating-promise
eslint-plugin-no-floating-promise copied to clipboard
Does not detect anonymous function expressions
This works and is detected:
async function a() {};
a();
But this is not detected (and passes):
const a = async () => {};
a();