🐊Putout plugin adds ability to convert 'apply' to 'spread'
npm install @putout/plugin-convert-expression-to-params[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-expression-to-params.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-expression-to-params "npm"
> Uncaught SyntaxError: Malformed arrow function parameter list occurs when your function declaration is missing valid parameters.
>
> (c) MDN
🐊Putout plugin adds ability to fix SyntaxError: missing formal parameter .
Checkout in 🐊Putout Editor.
Merged with @putout/plugin-arguments.
```
npm i @putout/plugin-convert-expression-to-params -D
`json`
{
"rules": {
"convert-expression-to-params": "on"
}
}
`js`
(__a, __b) => __b + __a;
(__a, __b) => __b + __a;
(__a, hello, world) => __a;
`js``
(__a, hello, world) => __a;
(__a, __b) => __b + __a;
(__a, __b) => __b + __a;
MIT