{"name":"@putout/plugin-convert-expression-to-params","version":"1.0.4","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert 'apply' to 'spread'","homepage":"https://github.com/coderaiser/putout/tree/v40.15.1/packages/plugin-convert-expression-to-params#readme","main":"lib/convert-expression-to-params.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","convert","apply","spread"],"devDependencies":{"@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","madrun":"^10.0.0"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-convert-expression-to-params@1.0.4","gitHead":"bf1ffd0751268b8ce3ac4d03c0a56f8f9aec1035","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.4.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-sC5BGEqlby28LjvW6aw4YWw+DcMJEsZKi41W2eH3FXmc5ZQrhEiZr2VfrUxR6SkUWqXm0rUxzeuw1MeBt9832w==","shasum":"1d939859372fa4aa9e99983e7044aeb658a04287","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-expression-to-params/download/@putout/plugin-convert-expression-to-params-1.0.4.tgz","fileCount":4,"unpackedSize":4462,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE2YYf/kdO4J83b6KvG1yuuiflqYUHcuVdm4+82Omz9FAiBgwesJJZl//XKOYxFIYJwZaBts2o9WSrPCJedNHtUS7g=="}],"size":2182,"noattachment":false,"key":"/@putout/plugin-convert-expression-to-params/-/@putout/plugin-convert-expression-to-params-1.0.4.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-convert-expression-to-params_1.0.4_1769604691233_0.5709165833163252"},"_hasShrinkwrap":false,"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\nMerged with [@putout/plugin-arguments](@putout/plugin-arguments).\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":1769604691398,"_cnpm_publish_time":1769604691398,"dist-tags":{"latest":"1.0.4"}}