🐊Putout plugin adds ability to remove useless 'continue'
npm install @putout/plugin-remove-useless-continue[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-continue.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-continue "npm"
> The continue statement terminates execution of the statements in the current iteration of loop.
>
> (c) MDN
🐊Putout plugin adds ability to remove useless continue.
```
npm i @putout/plugin-remove-useless-continue
`json`
{
"rules": {
"remove-useless-continue": "on"
}
}
`js`
for ((sign = decpt, i = 0); sign /= 10 !== 0; i++) {
console.log('hello');
continue;
}
`js``
for ((sign = decpt, i = 0); sign /= 10 !== 0; i++) {
console.log('hello');
}
MIT