{"name":"@putout/plugin-convert-expression-to-params","version":"1.0.3","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/master/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.3","gitHead":"d32e1f672aa81f79da7c685a8330f7be8aa17b16","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-KT+CeeCEcIGinkWgA7viYip7RCvra9au9b49yEdZ/W9VP/J0C0ikr+p5S0UNe/6Vq5Ri29CU8d0eHD1ASg6Bwg==","shasum":"c11b724714256219dff54f2aa4dc5d7aff17ba2e","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-expression-to-params/download/@putout/plugin-convert-expression-to-params-1.0.3.tgz","fileCount":4,"unpackedSize":4393,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfm7DVXZg/qOg2foCNS+q/AF1IQylVP+c53Wypb+oqbAIhAKA/fDItnXSXaI3ISoyew8V0usSgxAFoz4f+swMaOH1z"}],"size":2157,"noattachment":false,"key":"/@putout/plugin-convert-expression-to-params/-/@putout/plugin-convert-expression-to-params-1.0.3.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-convert-expression-to-params_1.0.3_1734120327454_0.3504642400528022"},"_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\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":1734120327664,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734120327664,"dist-tags":{"latest":"1.0.4"}}