$ npm install @putout/plugin-remove-unused-expressions
🐊Putout plugin adds ability to find and remove unused expressions
, excluding directives: use strict
and use client
.
npm i @putout/plugin-remove-unused-expressions -D
{
"rules": {
"remove-unused-expressions": "on"
}
}
function show(error) {
showError;
}
function show(error) {}
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE