{"name":"@putout/plugin-split-variable-declarations","version":"1.2.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":"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/eslint-config":"^1.0.1","@putout/plugin-remove-unused-variables":"^1.8.0","@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","lerna":"^3.8.5","madrun":"^2.0.0","nodemon":"^1.14.12","nyc":"^14.0.0","supertape":"^1.2.1"},"peerDependencies":{"putout":">=3"},"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.2.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-kURxVhZTrZX5mWDGatZh8P5cs5BCyR6pnfUOiRYVrkC99XDIvArzKrr8/5KPuEbkCpJSdxoJ896YvBVrsHu/9g==","shasum":"b441d6a21dd0707a0e980109925bcb5a17192856","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.2.0.tgz","fileCount":4,"unpackedSize":6004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdA5NaCRA9TVsSAnZWagAAoqoP/j25wT7LVGtbhpgolP+E\nbg3TbjlmAewhmWGXMo1FeJA+nooznPwZPoSPFvruLup1c1XYgM4I+POzn0bk\ntNV7h4SGuNaT+bsiphZuP2cqgrQ6T0/QXaDwZudndvvqJEnuyk6L8J3r69xv\nv0uRKUrOEx5rpOEqLF3S+wVCWRpyrk2cLSscfJb7biRG2Md4JgseCtHx/GqP\nUAS/FVHZ2uz08wENhjO/UI0Z2S10HVKbUunTJpXMKOSZSXGkdazVQblqjP0j\nCXTbie19bOmdGVgCW9aarmgL6M4pZh8x5Sp2EYqoTWLo5/hcvan3d1sDCXa4\nr4rkz1tp653DLJH8RWoWWDVhTyhK7TiZqM9LdtKI4rG/G6a802W+HAZg50kf\n0HHWpt81jACdYpjp41vg5QLIbB5PkqnQ+9far1NhOnoT1fiUn9EvGK1kFJmF\njfoFQ+cSXdb3Vv6zGEhm00IfeWtZnxl8wNluUg4eWj1mhTC1TlQpd6Aou4BJ\nT6U01mex+GX7IQMobG8847SkttVRiynUZKfvCorfs1KRBZI9w/Zdp8F2TAOY\nBowW+EBfdNj+jTYmisjru+ma7tjlNWBdKwSjj08z6aQXIiT1tro46KYlzuHp\nulftI9obGehkbWVEiY3WDwhrVGAcfmSUpMR9+u42ZY2PowZmL5jltiPgFqWf\nJlQ3\r\n=aYM9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAG1PGeQsKM4963E0hT8CKBtitd4I0Qz3H7ygKQCyMe8AiBafdvyptV6cO5DzDkTTqIOAgIHn5TB8cu9UTpwHy6fsw=="}],"size":2435,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.2.0.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.2.0_1560515417353_0.7786569911527284"},"_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":1560515417480,"_cnpm_publish_time":1560515417480,"dist-tags":{"latest":"5.0.2"}}