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

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

????Putout plugin adds ability to remove useless await. Part of @putout/plugin-promises.

Install

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

Rule

{
    "rules": {
        "remove-useless-await": "on"
    }
}

❌ Incorrect code example

await await Promise.resolve();

✅ Correct code Example

await Promise.resolve();

License

MIT

Current Tags

  • 1.3.1                                ...           latest (4 years ago)

5 Versions

  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (6)

Copyright 2013 - present © cnpmjs.org | Home |