{"name":"@putout/plugin-split-variable-declarations","version":"1.3.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":"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.1","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-oatxgsiP1oqlGhKFelEdto2dfmoncH24ct0HEC8J91W0Jv2m6OGu7bnDDAD2EiJLrVvMbzdn6ymWUyuPnPLB1g==","shasum":"f776e249cdc95cceb895ecd173d7c90e0c0d48cd","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.3.1.tgz","fileCount":4,"unpackedSize":5931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDNNKCRA9TVsSAnZWagAA9okP/i5ThW0THiHZ3Hjnli+v\nEpsJTTdVkGVkdLKXI7vWkL+lMBh3a47N4Q+ftcqSM1nIuYmVJCehoHJ2x+Q7\ncvip+wn5wuZ19hJpEGEYjV61p0iQslKjHjTjQYkQfJ/gDXxP3nd/eF05oOo2\nPMgqr9pmEif3TrMKVXvPr/rKUGBQPFZv4vCkII6320st4Ojm0P7/LlP9SX1w\nuEKfTFYD3e3wlfEV1kZCmrqLzkyLlX06/+W7Ds6idf/pna1+xVzMOMs7eNCG\nS6YuLHa3eX105HLv640KiJUwBxRZnzQF4EcVZvVWkmD6tZniILJsOYHkkSf9\nEE4125aqEnpk7FAwfEnhEP93T1mG9t33CaFr6KTNnOCvHI0P0y2YGm3Zhnbb\nqVqsO28UwDvy8kiitG1eiVh3zASHmSkEBvR9GEfUak5XNZrKBhBunvsW28nK\nFlSPWeE4a0uDgxxSeDAh8HW/tNYh9wkZOHkuZMVklIcb2jXJsh2xHiOtGwof\nLlBR+CHbKIJdFjQi4FeCbUrVcLnxb4tnMmD70zwUZA2ezFna2ITWoa5BWAPs\ngK7dM5Skg+xQDsomdJiDoIj1YtQVaH2oX8md2sZRWbuVHNmrbhNv31T/Xk2A\nJ/dV9KwyU+OFyAdQ6Y3YMKFzVIuFmqJhSBN1nRk3QC1tc3Ouup7WppTY0+/n\nm5t1\r\n=IgtN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmMuwkXgvXFUZqlEZc0ggcgUzSdspvRn7CmygsWMhlowIgMM0u4MTpr8TS3FVbj521fOwbgJwByzk95GF7pkynQDY="}],"size":2416,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.3.1.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.1_1561121610290_0.13756801634960647"},"_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":1561121610415,"_cnpm_publish_time":1561121610415,"dist-tags":{"latest":"5.0.2"}}