$ npm install @putout/plugin-split-call-with-destructuring
🐊Putout plugin adds ability to split call with 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
© 2010 - cnpmjs.org x YWFE | Home | YWFE