{"name":"@putout/plugin-convert-expression-to-params","version":"1.0.2","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.2","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":"5e0faa05099c2fcaad4c39a11e291c6ea725cf72","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-expression-to-params/download/@putout/plugin-convert-expression-to-params-1.0.2.tgz","fileCount":4,"integrity":"sha512-zaRgMVxe/ShXjIzWJe4kK2QBzvTXKcG1vCqmj4u+92fD0M97A7DGNnlnUQ4dHn5HlhgGrOJL6jV4xh/9av8eyg==","signatures":[{"sig":"MEUCIQDnQkd/UHmaVCkVulpcIXlAiJu0Fxq8DXXTzconMirDbgIgLeL5DsCkcnLQ7HzdA0NP+ADcwUjGw/f3PUEtYQSe8Ks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4385,"size":2159,"noattachment":false,"key":"/@putout/plugin-convert-expression-to-params/-/@putout/plugin-convert-expression-to-params-1.0.2.tgz"},"main":"lib/convert-expression-to-params.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"d07109945e766fdf01bb7466af721492f7cd8b8f","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.2_1734120249559_0.1096178959041536","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":1734120249730,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734120249730,"dist-tags":{"latest":"1.0.4"}}