{"name":"@putout/plugin-split-variable-declarations","version":"1.0.1","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'","test:diff":"npm test | tap-diff","watch:test":"nodemon -w lib -w test -x \"npm test\"","watch:example":"nodemon -w lib -w test -x \"node remove-unused\"","lint":"eslint lib test --ignore-pattern test/fixture","coverage":"nyc npm test"},"dependencies":{"@babel/traverse":"^7.1.6","@babel/types":"^7.2.2"},"keywords":["putout","putout-plugin","plugin","debugger"],"devDependencies":{"coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","eslint-plugin-tape":"^1.1.0","just-camel-case":"^4.0.2","lerna":"^3.8.5","nodemon":"^1.14.12","nyc":"^13.0.1","putout":"^3.1.0","redrun":"^7.0.2","tap-diff":"^0.1.1","tape":"^4.8.0","try-to-tape":"^1.1.0"},"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.1","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-uxTo1iJAubQwxjOwJS3HwpMlSalsq0hJtcdDkxsO2o0kToATl5mHGWgYaYIq481ole9wJvKAk4eDful5sJaVPQ==","shasum":"4ac01ca70f12374f407ac9ccd36fc0f35a9b9c04","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.0.1.tgz","fileCount":4,"unpackedSize":5018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN3ZDCRA9TVsSAnZWagAAj1cP/31l7EcAf/o+cBKp8uWQ\nNcMYdpbs/JLK85hZo/cI0voglEvBZ8qKGBMAwpXOtDgVCYItFzOKCi/S6WCe\nYKF8aqR8lauASRAVNN4VZrcbvMyoAkUNK5qRhZZmVLXKYFch59cAeBHXcWjz\nL+7K8GBFuCFW0Y78xlKiVNIGV7CZRwE54QSYY95qy7nRq0AV5DSrit8Kwsgs\nXPN5jiHYUPIk7WtYoYi6VaPdEjJVL4voOOdnwpzLOMvfA7hdp4Z42nz7RSRm\ntBsmFqm+9a2RmVz9OqrzaG5SVCsRNB+zp3Kq7pmJpEiv77Fehs2zxkVWmg6u\nME+2V3tuaOstCf9F3gXcc5FYy1K9TnlVI43yAsiQCJAtCzdG7hw1mXND51Uv\n6/WcWvBvjXoQpWaEHNchdiEU4o099LwAUyJNx+vkrB7YleA84soe/7Mdutxj\nuNqn7OhzvRGIMcyKPTDLf8YLrrAdtzSDP3lhJwgsjU1gZyM78bQDh1Mapx+i\n6J2d/rViO33673IJ9BRoG60Xc5ir/AdW5/hDiQEh1OIytvzVU/NqtDhpiD6K\nUmMSf4nJGDU5C24l6KvWpHqRG/G/a+h1TmIPOtSr9XGi70K79AjwvbCFSoGr\nlf2TlwV7VSRID4tZUzqbm9vOJ4kZYt/1emeUdw0phdE19S210k5vjYpwSsyR\nsius\r\n=E0F+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvAQ/GqDkGHW1A1zGbAg26xKb8AJ7IQfq7pWzj2TIoIgIgYw2pqIghvVEiH+5+vUzFCYqdGFpJfv1tJ931j0hnK7A="}],"size":2260,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.0.1.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_1.0.1_1547138626637_0.3345593421427333"},"_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":1547138626757,"_cnpm_publish_time":1547138626757,"dist-tags":{"latest":"5.0.2"}}