{"name":"@putout/plugin-split-variable-declarations","version":"1.0.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":"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":{},"keywords":["putout","putout-plugin","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","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.2","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-jKhzYR+nD4pK0VhYs1JQsmzXP58Tge+hryhWD232FzG4zX+2Sl+SnrgNU9XOcScTvpefKrWPT660Qw6xfbebUg==","shasum":"bf59b037ae1624d9971c9a7f92c6659264fadcac","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-1.0.2.tgz","fileCount":4,"unpackedSize":4891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOKrjCRA9TVsSAnZWagAAgrQP/0HwJwjkPs3+OZAVn8P9\nwwA6vVK5485E2lDKZVmhq38PaAoTejfBhT/kCJUiE2qXTrbtNxbKBK7WL1Tv\nfZMhzLF2YU5It8xGr5ilFxSSW+MrSud+6I3GB8p1VJw9YYMFRxhsf330HTwM\nSckQPjQPnISpMDmQljiGnX/jjBC+h28+zkAgvnpD+b4Fm8c8R4s2QXN6CwaB\nmY0TH6OYU7MfrSCCd7w6Bmg+046qjeQUvH4Y05CV65mcN5+ok8eSXcAfvxg0\n1uEe6L3OR0PT3ZInqXVjiUkRB6lvMMHtrqJTkhglRbMW5KOQkibhbN4eCKYa\nQb5f232Zrf1u920z9ZqAF9xH8wqRndcRoN7ZHcjFCz+CLr2KJ6wOj7U26cIY\nmHnZt5KMBO/Wn+O+kusgHl0g1IePlul6icJhRU9ef+96+oBrkEoG16z+B0JJ\n5wnd7NtdO5PjjQjSHN7U32S5BPV/zWHp9FZKZlBy3OVHF1n5Qp9lOiwpxU2J\ns9I0PvTps8H+f53V4L5pSE8dxFwJ3O3f+Q+z7cfs2+NVyDllmAV1nwqjpK0x\nOB24dXmkrGPP+oqm2vR4zLo6JXwaBMinSC6PUJ/qYIhmGy+vN/3gUYdnJZkl\neGvsgZgtR20Kte111jJb6bo7a9IZF2nXEHHWLpi3+lnG680pd4RYOo21Ql6I\nf4Gf\r\n=zpme\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAx6JnN7vl75OBGXEd3Sfc61aiheS1NGK2Wjasj2SKJAiEAl4bUGucdAjvXwx+DfJVGiv/uCfIs2avrLIFZZeoWjv8="}],"size":2231,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-1.0.2.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_1.0.2_1547217634736_0.73136075064848"},"_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":1547217634859,"_cnpm_publish_time":1547217634859,"dist-tags":{"latest":"5.0.2"}}