{"name":"@putout/plugin-convert-expression-to-params","version":"1.0.1","keywords":["putout","putout-plugin","plugin","convert","apply","spread"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-expression-to-params@1.0.1","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-expression-to-params#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"79a9cd1dee1b11a3d7c200f423f3a920e7abb97d","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-expression-to-params/download/@putout/plugin-convert-expression-to-params-1.0.1.tgz","fileCount":4,"integrity":"sha512-cOAso7JDFUgfTRDrzRi6rkXMucPrnrFp3KRtEQyzKvUcRBh3/Nz3J3sThIAbLPpURJQ4uMY39nyDYCh+nedf6Q==","signatures":[{"sig":"MEUCIF7NzWgODl6dsGDu/Zz36rt8LiteXsWhQc4ehKEKvyTeAiEAlNLtgtHfBrQd5OHFxjwQfQwSSyMYKCurNHG8dq1iDkU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4240,"size":2058,"noattachment":false,"key":"/@putout/plugin-convert-expression-to-params/-/@putout/plugin-convert-expression-to-params-1.0.1.tgz"},"main":"lib/convert-expression-to-params.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"b451872ef21a13845a3a49338fe9c408a0721a00","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"10.9.0","description":"🐊Putout plugin adds ability to convert 'apply' to 'spread'","directories":{},"_nodeVersion":"22.12.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^10.0.0","@putout/test":"^11.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0"},"peerDependencies":{"putout":">=37"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-expression-to-params_1.0.1_1734119751924_0.39805440689347504","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/plugin-convert-expression-to-params [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-expression-to-params.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-expression-to-params \"npm\"\n\n> `Uncaught SyntaxError: Malformed arrow function parameter list` occurs when your function declaration is missing valid parameters.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Missing_formal_parameter)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to fix `SyntaxError: missing formal parameter` .\nCheckout in 🐊[**Putout Editor**](https://putout.vercel.app/#/gist/e1818c2385974e136ae77eb28b3d2221/66dcb650e02aaafffa7fe00914f80366c4bfd7d3).\n\n## Install\n\n```\nnpm i @putout/plugin-convert-expression-to-params -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-expression-to-params\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\n(__a, __b) => __b + __a;\n(__a, __b) => __b + __a;\n(__a, hello, world) => __a;\n```\n\n## ✅ Example of correct code\n\n```js\n(__a, hello, world) => __a;\n(__a, __b) => __b + __a;\n(__a, __b) => __b + __a;\n```\n\n## License\n\nMIT\n","publish_time":1734119752125,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734119752125,"dist-tags":{"latest":"1.0.4"}}