Closed omegalink12 closed 5 years ago
Trying to autofix an async function doesn't pick up the async modifier.
async function x(){ return 1 }
gets autofixed to
async const x = ()=> 1;
Thank you for the report! This has been fixed in 304160a and published to npm. If you are using the singleReturnOnly option, your example should get autofixed to
singleReturnOnly
const x = async () => 1;
Trying to autofix an async function doesn't pick up the async modifier.
gets autofixed to