@putout/plugin-remove-useless-async

4.0.1 • Public • Published

@putout/plugin-remove-useless-async NPM version

🐊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

Package Sidebar

Install

npm i @putout/plugin-remove-useless-async

Weekly Downloads

1,475

Version

4.0.1

License

MIT

Unpacked Size

3.75 kB

Total Files

4

Last publish

Collaborators

  • coderaiser