@putout/plugin-remove-useless-async
putout plugin adds ability to remove useless async
Last updated 5 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/plugin-remove-useless-async 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 4.0.1                                ...           latest (5 years ago)

11 Versions

  • 4.0.1                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.2.1                                ...           5 years ago
  • 3.2.0                                ...           7 years ago
  • 3.1.1                                ...           7 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.2.0                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 16
Today 0
This Week 1
This Month 10
Last Day 0
Last Week 5
Last Month 6
Dependencies (0)
None
Dev Dependencies (5)

© 2010 - cnpmjs.org x YWFE | Home | YWFE