$ cnpm install @putout/plugin-split-call-with-destructuring
????Putout plugin adds ability to split call with destructuring. Merged with @putout/plugin-destructuring.
Checkout in ????Putout Editor.
npm i @putout/plugin-split-call-with-destructuring
{
"rules": {
"split-call-with-destructuring": "on"
}
}
console.log('hello')({uid} = path.scope);
console.log('hello')[uid] = path.scope;
console.log('hello');
({uid} = path.scope);
console.log('hello');
[uid] = path.scope;
MIT
Copyright 2013 - present © cnpmjs.org | Home |