@putout/plugin-remove-unreferenced-variables
v6.0.1
Published
šPutout plugin adds ability to find and remove unreferenced variables
Maintainers
Readme
@putout/plugin-remove-unreferenced-variables 
A variable is a named reference to a value.
(c) MDN
šPutout plugin adds ability to find and remove variables without references. Merged with @putout/plugin-variables.
Install
npm i @putout/plugin-remove-unreferenced-variables -DRule
{
"rules": {
"remove-unreferenced-variables": "on"
}
}ā Example of incorrect code
let a;
let b;
a = 5;
b = 6;
console.log(a);ā Example of correct code
let a;
a = 5;
console.log(a);License
MIT
