{"name":"@putout/plugin-split-variable-declarations","version":"1.3.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":"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":"^5.6.0","eslint-plugin-node":"^9.1.0","eslint-plugin-putout":"^1.5.0","lerna":"^3.8.5","madrun":"^2.0.0","nodemon":"^1.14.12","nyc":"^14.0.0","supertape":"^1.2.1"},"peerDependencies":{"putout":">=4.31"},"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.3.3","_nodeVersion":"12.6.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-9f7iqbNbJE7d94M7I0q2Ot4kwDN6OlYPf3sjzpgbOTISxRw1G7oqg7DE4uhia44qssh+4E2CBXjT9+DTqGEMoA==","shasum":"a0c4ee92a413eee74e9f6656b0be6116b2a2cab2","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.3.3.tgz","fileCount":4,"unpackedSize":5045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH2OsCRA9TVsSAnZWagAAC9UP/3qLwAEpdg0KUtXWezow\ntPmPG1X+0rFnUn6ZPSCH2/6f+UuzEe+OjvDqR6zncjv+15cIh8jlsbIlSZDQ\n7jgOPUVToOKbBvo+md6wFUKe+xaHz3R35XoFc8Q3YBIukJJULhvXdayBo+Cs\n5uOtlPArj4CW9MRFqjMdeGXmjjPqVZyES0Qvx+mcAGGtGnVCkTnMRutYFrYc\nyCE+0JfjaOm6csOotQtu1PZYGNDIftjzSpZLyIC3uutTFoBIwRWFnakN6/dm\n/TGVn5lLgAdzsuu+mO8SlJqkLxkW8cS6e8DJ6Kbl+oEWsKV/cjhSTvJEw+jZ\nGSpKkdcA+/k9OMppHJe+t8rdZVYnDwyGV02pOZcxxg03NVpkzsATAoSLZgMC\nzkonbHpC+9G0fNlszPYT/aZJDInxwohXElP31KAZgLnSq3AT6gdSTnxlXKTg\nU8cMMgLl3DfgR3Ok9s2poUdbyiNHszDFCR/pSVkXmIZnCqF9gKQXH+cjcg7f\nZQNyUfBFEsVlQZWEqnYdUJ2HUN65ii69ccsSK5WcZm72CEllIIIlCNuMf+tz\n3m9hBZmasO70mmUm0xsCoMj3lE0ecBKjfPMw+/SoGo/IdKtc7erj8QnUSOHd\nSxqVxcLCQuhZSZ+OhrItUdj04xEXXby3+tdATp8G7oTe8NxraS607BVpgYaN\nsWJC\r\n=724v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNNjN7gLDfdx0OOmVVh5E/GSS7dKK7qwk/1uKz7pksDAiEAtiNe4bbzawTn9g70PAYvSkeHlkutthgWjVZwoeh/MWM="}],"size":2205,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.3.3.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_1.3.3_1562338219364_0.6090215897774329"},"_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":1562338219517,"_cnpm_publish_time":1562338219517,"dist-tags":{"latest":"5.0.2"}}