{"name":"@putout/plugin-split-variable-declarations","version":"1.1.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'","watch:test":"nodemon -w lib -w test -x \"npm test\"","lint":"eslint lib test --ignore-pattern test/fixture","coverage":"nyc npm test"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","debugger"],"devDependencies":{"@putout/eslint-config":"^1.0.1","@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","lerna":"^3.8.5","nodemon":"^1.14.12","nyc":"^13.0.1","redrun":"^7.0.2","supertape":"^1.2.1"},"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.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-onjRp4H6+5fkX6CjsdpHViTiBoAmclP247Yo6cZ5l5DNj5Dh3Ybu/jqwBT8VRCQerbsZ3+k3ufYfgHPDRABmBQ==","shasum":"8346974156da1ef638483e341d1fc8fa0971ec22","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.1.0.tgz","fileCount":4,"unpackedSize":5919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQKcZCRA9TVsSAnZWagAALOIQAI5xSFBeI+PLBbq9uCDx\nCoip6e+2CaIwoz117UaCdTty6IsmWDo++/FuedQdWXGGw2IbZZT9YTndOtUV\nrCO/ERin1VBzykec/7wSmdsoEwGZoPfj7sPRehG1Wxf2kubxPDQuuEqYfEDV\np/i1oLcD4YHJoqfg4iiBH5wLb8irHqkEnY2U8+gHfUg7Gj4CLTOZMMM9ySZ7\nYrYQLAQLmdj7QkDvKEDvVsPxIwf3Z7nAaVNV8fY4g6VcW/wsxZFocklcLoFS\n9Ez5ExKWVaq5Lmow3ZMXPRpEoOdc6NgOBzqI3GvNFc8MTWwBGnDu9acQnKgR\nm6hUVgMEb+9nitC3PgUSS8kepFsvLRt6HOZbRG+MXEj9s+CPWmM9DX/1uGSX\neh+v2VF72GXIepknamJARQvg1eAKm8+8kLvx10F9vBhQv8lpaSikP4MBrbkN\n/uucv+xlmJaWI/NjVpRrn/eRdrC5QA+8SZv27S86/rhMZ4pHxj61recteA5q\ngDYci77KkuP1KDnqEMxmPOLQOmPVjmYmlB1wYj54z9sPWR9f4pHZkq5MVvlU\ngCoO56cMRhZO/Lh18JV9kIHa4XFq4SKSOglLeBg8oqrfrWmx/MyUyIAQWPbZ\nSVSYIfGJt6l1PfIPL4AU/s5BKeMNYneMmbO8YAEV+bKocsfl4YhjmhmuckT0\n4CJ+\r\n=S0wJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC09vaMq2CQ2VqBsRIQwRLbw3TrmYM9kqc2i52IcHxBSAIgcxXBAuO3t5WlFdjVv0iVb9VfhgnBATSvVoo/C9eV/1Q="}],"size":2449,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.1.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_1.1.0_1547740953067_0.06457608516365299"},"_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":1547740953145,"_cnpm_publish_time":1547740953145,"dist-tags":{"latest":"5.0.2"}}