🐊Putout plugin adds ability to find and remove unused expressions
.
npm i @putout/plugin-remove-unused-expressions -D
{
"rules": {
"remove-unused-expressions": "on"
}
}
function show(error) {
showError;
}
function show(error) {
}
MIT