9.0.0 β€’ Published 12 months ago

@putout/plugin-remove-unused-expressions v9.0.0

Weekly downloads
714
License
MIT
Repository
github
Last release
12 months ago

@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

9.0.0

12 months ago

8.0.0

1 year ago

7.0.0

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

5.0.0

3 years ago

4.1.0

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.2.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

5 years ago

1.3.0

5 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago