@putout/plugin-remove-useless-continue

putout plugin adds ability to remove useless continue

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@putout/plugin-remove-useless-continue
36501.0.1a year agoa year agoMinified + gzip package size for @putout/plugin-remove-useless-continue in KB

Readme

putout plugin adds ability to remove useless continue.

Install

npm i @putout/plugin-remove-useless-continue

Rule

{
    "rules": {
        "remove-useless-continue": "on"
    }
}

❌ Incorrect code example

for (sign = decpt, i = 0; sign /= 10 !== 0; i++)
    continue;

✅ Correct code Example

for (sign = decpt, i = 0; sign /= 10 !== 0; i++)
    ;

License

MIT