🐊Putout plugin adds ability to find and remove process.exit
npm install @putout/plugin-split-assignment-expressions[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-split-assignment-expressions.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-split-assignment-expressions "npm"
> The assignment (=) operator is used to assign a value to a variable or property. The assignment expression itself has a value, which is the assigned value. This allows multiple assignments to be chained in order to assign a single value to multiple variables.
>
> (c) MDN
🐊Putout plugin adds ability to find and split variable declarations because (re)moving a line is simpler and less error prone then changing coma (=) to colon (;).
For the same reason, diff of changed declarations are more comfortable to read. Checkout in 🐊Putout Editor.
```
npm i @putout/plugin-split-assignment-expressions
`json`
{
"rules": {
"split-assignment-expressions": "on"
}
}
`js`
a = b = c = 1;
`js``
a = 1;
b = a;
c = a;
MIT