2.0.0 β’ Published 8 months ago
@putout/plugin-split-call-with-destructuring v2.0.0
@putout/plugin-split-call-with-destructuring 
πPutout plugin adds ability to split call with destructuring.
Checkout in πPutout Editor.
Install
npm i @putout/plugin-split-call-with-destructuringRule
{
"rules": {
"split-call-with-destructuring": "on"
}
}β Example of incorrect code
console.log('hello')({uid} = path.scope);
console.log('hello')[uid] = path.scope;β Example of correct code
console.log('hello');
({uid} = path.scope);
console.log('hello');
[uid] = path.scope;License
MIT