4.0.1 ⢠Published 3 years ago
@putout/plugin-remove-useless-async v4.0.1
@putout/plugin-remove-useless-async 
šPutout
plugin adds ability to remove useless async
. Part of @putout/plugin-promises.
Install
npm i @putout/plugin-remove-useless-async
Rule
{
"rules": {
"remove-useless-async": "on"
}
}
ā Incorrect code example
async function show() {
console.log('hello');
}
ā Correct code Example
function show() {
console.log('hello');
}
License
MIT