🐊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