@putout/plugin-apply-if-condition
v1.1.1
Published
šPutout plugin adds ability apply if condition
Maintainers
Readme
@putout/plugin-apply-if-condition 
The
ifstatement executes a statement if a specified condition is truthy.(c) MDN
šPutout plugin adds ability to apply if condition. Merged to @putout/plugin-conditions.
Install
npm i @putout/plugin-apply-if-conditionRule
Rule apply-if-condition:
Rule
{
"rules": {
"apply-if-condition": "on"
}
}ā Example of incorrect code
if (2 > 3);
alert();ā Example of correct code
if (2 > 3)
alert();License
MIT
