@putout/plugin-remove-constant-conditions
v4.0.2
Published
šPutout plugin adds ability to find and remove test.constant-conditions calls
Maintainers
Readme
@putout/plugin-remove-constant-conditions 
šPutout plugin adds ability to find and remove constant conditions. Merged to @putout/plugin-conditions.
Install
npm i @putout/plugin-remove-constant-conditions -DRule
{
"rules": {
"remove-constant-conditions": "on"
}
}ā Example of incorrect code
function hi(a) {
if (2 < 3) {
console.log('hello');
console.log('world');
}
}ā Example of correct code
function hi(b) {
console.log('hello');
console.log('world');
}License
MIT
