{"name":"@putout/plugin-split-variable-declarations","version":"2.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove process.exit","homepage":"http://github.com/coderaiser/putout","main":"lib/split-variable-declarations.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","debugger"],"devDependencies":{"@putout/plugin-remove-unused-variables":"^1.8.0","@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^6.2.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^3.0.0","lerna":"^3.8.5","madrun":"^5.0.0","nodemon":"^2.0.1","nyc":"^14.0.0","supertape":"^1.2.1"},"peerDependencies":{"putout":">=7.17"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-split-variable-declarations@2.0.0","_nodeVersion":"13.10.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-rfxeVHNWkEivi3l2K/9abTVtBctBVNfGOBL4By87wny1isa5nqDl4NwkoFGlvdXVTcdSwNIaTkDyxjnU8vNJ4A==","shasum":"7bb6260619eaeb8352f17aae63d7a7021cf54d7b","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-2.0.0.tgz","fileCount":5,"unpackedSize":5041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZKtSCRA9TVsSAnZWagAADScQAIzm6RJiWf3HpKMaJOVL\nTxIYOucnTQnaKGSMW3HDT0nxVAGnT/sQISoojQCMrxTLctHxupRNx07poxDx\nmnnZWL4i5I5ScOE7cPniONH9jOE8fgx6n7H6gx1R8Z27yErMNA2qXYgwbMTz\nMwSmCdPcjA0FTlXOEdsMdkJgoqs7kxWXDUPkM0BTAPo/wkaaoxrgw4NMKeU0\nCtfSuAkBNs7uAezgCA2rz9kmHSjCzMJnwFx9y+8o+YyzGhVRxmBdo6ZL78uk\n6jQ5gn0aLftfiRLNPFpSJAWBKHkRj5L7SXstIx8aI76Tuw9pW81j8iZowD+1\nNkBVjAMDRPTAEFMmmRH/DThV/rsYHg0Jr1esgIzM1xb5Hon201JQOXsM8uq7\njf9w2WxbNCSh7EqswNz49ysCDnneyKy4TqFcREcrz8s1lyAfWHCMn8PDDObn\nfDQ87v8cAzr5uVfJ+DrTMpv++efmKxsrgRMJFDTJxuXLOgC5VPBZE+80zPf5\nWjsSxPZXMTRn5S9MU9cmZpcoKzhaLE4gU7zUeoCDy3o3MxE3NDkctYBn5qiq\nDaCVOmu7RdrkbHpvtB1AvTappHHI8jL2wTFW+WXrCRczwnbk/kECBhm9AKUw\n9/xKM0v8sy4eP15n69tOBjZ7DKt8w57HWRPnaDsxxAoFLYHb+pm8UEl6pbOZ\nh059\r\n=tO81\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDJ68c14yHn2x75pAqx8YIoF39Edw9vV45fs+SdyvpIAAiBt7Vz8gW0JiwM6cdheIN8I41j4U0IhpyhU9La5kS6SLQ=="}],"size":2224,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-2.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_2.0.0_1583655762580_0.08715750553981794"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-split-variable-declarations [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-split-variable-declarations.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-split-variable-declarations \"npm\"\n\n> - The [`let`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let) statement declares a block-scoped local variable, optionally initializing it to a value.\n> - [`const`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const) statements are also block-scoped. The value of a constant can't be changed through reassignment, and it can't be redeclared. However, if a constant is an **object** or **array** its properties or items can be updated or removed.\n>\n> (c) MDN\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and split variable declarations because (re)moving a line is simpler and less error prone then changing coma (`,`) to colon (`;`).\n\nFor the same reason, **diff** of changed declarations are more comfortable to read.\n\n## Install\n\n```\nnpm i @putout/plugin-split-variable-declarations\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"split-variable-declarations\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nlet a, b;\n```\n\n## ✅ Example of correct code\n\n```js\nlet a;\nlet b;\n```\n\n## License\n\nMIT\n","publish_time":1583655762698,"_cnpm_publish_time":1583655762698,"dist-tags":{"latest":"5.0.2"}}