{"name":"@putout/plugin-split-variable-declarations","version":"1.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":"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","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.0.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.0","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-DmFTn282dxzcNV/7HJU46oSEkyBZC9Zml/qVREgd/einbX7rBjbDyq1VDIJTbsglek5/mGO/O1VoF3eUdkjh8w==","shasum":"a5a6cd066098854302def8003c1dfa728052fc4f","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.0.0.tgz","fileCount":4,"unpackedSize":5103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNz7KCRA9TVsSAnZWagAAEioP/RSFp9lWrWy3jDihBnYL\n4/Xb0W7dlMK3W8vOv1vBQObhjfaIT7SNycpaOJMo7H5z46CbN2GO/gkV9lyj\nkqgBZYUerHOEVqP8YgAEYod/c0UDhcmTuR/iCN/Uk+GCgU5tmiri5PLv32Id\nnYhacqJ+YTlL74yAld/AFN5Jq7wt7utEx9FDzZ4QQbFK0vEUXeD4nFpIkr8x\nlot5J2gaFamOhpE12ct0OZPaTH5frbTMSP7poaL8i26HcoNwGV3tcAFLzfip\nceXRssPDvQ0jQPIkKwSYMhFhjSIhZmUI4UK4IypVw9GNMhN35FMXg7uEbFTt\nvD+3PXDQTLfgKyG/n9CpMpUZf/zS/1rT7qLpifWIBjLKOWJGWolJ/sW0WDwE\npu9za3OexJo/0NJnKe5wt0TNe7PXfTI+lq4qgvb5GHRSZVLV2kZLUhIdDHy6\nvETL32SQPH+I1YvNLsrHkKa+cnIUaT3VCi7E7Dy1YEc+pUenSmgYxf3+dlZV\nJXlXPQ6d4tOWPdj+FglmMhTrebgJh9xIHnYkJKgnCnkBRJzuCHvvY/hEoYzQ\nwCmImPqQlFpl2Fima2z1W4v3GA7zx8Aj2brqadkwpzN6vx8YqKCbW/Qmt5yv\nKN2amEcSzfVg9QaGxcw852eQzkTBYZI7mNgPFYcWmVE7CIy4uIafZv7HzSCr\nm5QZ\r\n=cUsH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwyCZpVyEg9ezKxeqI05uViTyXg5bHLISybOmH5PZf1wIhAJJ19i0fQ0cdfXkjuBc3z7qiUMnysVlj/BXWIboxLMlx"}],"size":2277,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_1.0.0_1547124425975_0.5119068543000702"},"_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":1547124426101,"_cnpm_publish_time":1547124426101,"dist-tags":{"latest":"5.0.2"}}