$ cnpm install @putout/plugin-remove-useless-async
????Putout plugin adds ability to remove useless async. Part of @putout/plugin-promises.
npm i @putout/plugin-remove-useless-async
{
"rules": {
"remove-useless-async": "on"
}
}
async function show() {
console.log('hello');
}
function show() {
console.log('hello');
}
MIT
Copyright 2013 - present © cnpmjs.org | Home |