4.0.1 • Published 3 years ago

@putout/plugin-remove-useless-async v4.0.1

Weekly downloads
2,758
License
MIT
Repository
github
Last release
3 years ago

@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

4.0.1

3 years ago

4.0.0

4 years ago

3.2.1

4 years ago

3.2.0

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

1.2.0

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago