{"name":"@putout/plugin-split-variable-declarations","version":"1.0.3","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":"tape 'test/*.js'","watch:test":"nodemon -w lib -w test -x \"npm test\"","lint":"eslint lib test --ignore-pattern test/fixture","coverage":"nyc npm test"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","debugger"],"devDependencies":{"@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","eslint-plugin-tape":"^1.1.0","lerna":"^3.8.5","nodemon":"^1.14.12","nyc":"^13.0.1","redrun":"^7.0.2"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-split-variable-declarations@1.0.3","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-MmSW8EPgZ+0iXI6gKEJsF1K0pqkFRYpohNgEEmSFcOWRIhp1gSx0mLZ4SBR8y84Cif0093JiTQg3bVM9B/WXaA==","shasum":"d06809bc5fffc8f438eeb90f9fbdd1b4d664eb52","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.0.3.tgz","fileCount":4,"unpackedSize":4695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOyXbCRA9TVsSAnZWagAANAYP/jmsYO94BwLRGE4lXCdN\n2ZgECaNgcTX41t57jsvzWlV7eSaWc+gPCvG8bopaI6DuJrB2zXfACgfjmcit\nRr6AtXqdCvKr/Z5R2/QMEUwK417vvc4daNZcRKx02DJBOr8rVRkU5abqgMmB\nDDK05UhjwqDfIRm19UEFk55XUlEXuF5dpng6+xKw1wn6JrGgHrjsyCuexnJv\nUC3Pkeng1FBKhhisRWktWHQC6Fes9s3a3NwFQ8PlKDLwdtYpnqWnfqP5sMxt\n4WVfX7TLIaMyR8T17s+7A3ZQZJQEnN5Jh2RwKox9vbZqdRvqeJJ+kg9VwGOH\nezXw4Dplmpo7LF5z5L9Hgd23yo1WE3/pUHP7opNMRdjnHs+BiauEywuzqwN7\np+O9kYntCtgQ+MBFh0YNSRjROfrqQbyeXc4O1u08IQpKeB/empTbk1hZWi+F\nPlyYh1CIMRUFRSxqQF3p7dkJQzJRcg2uB7xLQw3+CrrJNmLtSKMt4wsnzElC\nC49GNvShWotI+M6eBWl+XiAUnpyxkdRMfFp5ETcmUEnAkeV48uJtCqTIQbA9\nA1rJXdcxd1VEd9BmCR/lBfvqY3D6k3uOxRUIt7MaBYGvNXgTk33WcyYlH1yh\nXl0mEdQnuBbAOAJOA0Z9OYMYThCprowWkWj+XJbiKwqYKi2wyCrFbDCQDYmS\nfAZ/\r\n=+9BJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL3acrdH372D7F7SGTkwOLQCT+DNnMeKHN7UvpNt1UqwIgOhTqqUXdX3EVU/qg6b7398Ek5XyaypKlyImRRnQ7E7U="}],"size":2164,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.0.3.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_1.0.3_1547380187388_0.2296254194486833"},"_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":1547380187560,"_cnpm_publish_time":1547380187560,"dist-tags":{"latest":"5.0.2"}}