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

@putout/plugin-remove-unused-expressions NPM version

🐊Putout plugin adds ability to find and remove unused expressions, excluding directives: use strict and use client.

Install

npm i @putout/plugin-remove-unused-expressions -D

Rule

{
    "rules": {
        "remove-unused-expressions": "on"
    }
}

❌ Example of incorrect code

function show(error) {
    showError;
}

✅ Example of correct code

function show(error) {}

License

MIT

Current Tags

  • 9.0.0                                ...           latest (5 months ago)

19 Versions

  • 9.0.0                                ...           5 months ago
  • 8.0.0                                ...           10 months ago
  • 7.0.0                                ...           a year ago
  • 6.0.1                                ...           a year ago
  • 6.0.0                                ...           a year ago
  • 5.0.0                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (10)
Dependents (1)

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