@putout/plugin-remove-useless-async
putout plugin adds ability to remove useless async
Last updated 6 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (4 years ago)

11 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |