{"name":"@putout/plugin-split-variable-declarations","version":"1.3.2","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.2","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-sIGV+5y+a6OdSqm0qsfyP/mSa/4NSvsm93JaRS0ClV2iX5dpD9YA0YoUTbO5wbIhZKwn+ced6ZEeu6DxrE7o8Q==","shasum":"a3f7ae7aedeb563dfc000dff28b1c37a61a9840b","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.3.2.tgz","fileCount":4,"unpackedSize":6010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFPkUCRA9TVsSAnZWagAArDEQAJJfiZJXe3rgIroS0H54\nUPrMvGAr9K9U3GJPEk1NnXK94liLZKiQVjD9pVicvtCPEk55Vxu1u2GEMbnX\nmMKA554QkfnzBfitf9TACofqkZ8vrvGjR3OCLuhlhMJ4AMguktLdyHQJWykF\ntzGkTVCp2tcCCpWi9EnEo9KbV+ND5K2o8IAr1cqV578QLwZr6WyWFPHAVKt5\nr7FTGYId98/0T+ZrwMOfGbWJv522GCqnObWIxfRfZfo69RR4KV5cr65OMhNw\nfvr2SFSLwlCLb1HE5/7c1BhpqVIskFqbRGaKOt0CU2LsABdsBYS1vKax8avP\nGIG2fTIkWPvglmWiSBoc+66WxD5k9ndF1inlA4Yk2r+aOBh1gj/tIf3DV4oa\nCX4f87YML222gnxnpWYHtrMfPPtxAk+DfKjSWt8TsUR22gEC4381Roa1fRdM\nV+4wozTxMpkhszasC2ZbBZ2whPeg9TzrJ0D/Q7kB6Grm4jG8mKfmH++UTP4v\nf1ofxe0wqHuXWFtu/F2+IJT/63NeRt0huytwMjjd1grvV3MZvuC48IENKqnT\n9XIJ+ZFIAosBKOmi/Ex3/XPUIXAS6qUxXXJHU4epWEGichyT0qxAGzRW/aG+\np4v5+MqQPW2+BtfeNO9V1u+JGSmPgQmzZ05F7Wp0e1Kb6pRWgJSPjEEWDOtf\n/28y\r\n=D+VE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDasbzfuEh3q/oT6XGqyVcApHXbLjPx63P5kdcDRF0YVwIgI8MO2Cz/5JrCcCh1Q0nqrBhfTMTVstAfHaLGyrzFo2E="}],"size":2435,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.3.2.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.2_1561655571596_0.3210465259709354"},"_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":1561655571707,"_cnpm_publish_time":1561655571707,"dist-tags":{"latest":"5.0.2"}}