{"name":"@putout/plugin-split-variable-declarations","version":"2.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":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","debugger"],"devDependencies":{"@putout/plugin-remove-unused-variables":"*","@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=7.17"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-split-variable-declarations@2.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-SU7IjiyjGJPB1KCVJqmRQ3JHsd/z6I9YmmDM+q8cHYSVgeDAVG8FHzWUITE8KSgcwyJ7im9cEF21r2YXjDPKpg==","shasum":"332d677bf34443ff74ce4787ca0fd4c2369d5653","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-2.1.0.tgz","fileCount":5,"unpackedSize":4950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn9EXCRA9TVsSAnZWagAATlIQAJfz2lUMRrQtRZIge48n\nGU0yglMyHvfu6d2UCh0saB/foITX5tHjXzqx/HkKK5cilU7e3ztUySWIbHBa\nCOLK0zUhJkiX5lSfktTveghUuJ2MQH6ZQfm7VPJMkp7ss2UtbuwDApDhDh2V\nadcnYWa6HR158B1lRdQo31/UFOtEPpkCCJuPfWRbQD6+WuTbuYXhcbgC0BUX\nNY+Ynz6Ply/atsTHee+yizW04ywYM7ZIO7sndMC9cEhcclmooVrBwTLUVDSp\nXZ9hBT/GSOy8EJURGhIfR5b6BaSt0tkEgMOVE3NY284gdTpKfEOyZp6VNZCO\ntp2uWV7Th5wDbnsel6LKww9Q6SIWXYx6hvcq68URmkm4w+v/OLPgKLjnt+WD\nWpxtt4m1tg3vMX99WltnJwSbmrcoo/SAmCyuDgrcZHBlTVWJZGLsTdbo6wAk\ngC30SJguMFaxFdJxOn4XomgbUFhGdccuzcoDp2SrodnyOZ9s6gjJ2n4Fup0t\nZhGpWUvWeKEtnXOMYGCxB+b/xBtUjhr0YaE8dsC0zI89wFRZwDHmyZewyt9K\nA2kyy9+zIP4yN2hHJ4zI51fF9YrcO31glvCPDrpbLw9TS+kXaxBMxhVTHmVM\nnewzzQOMwmx99GhR1qpBoUcultonr9V+fZPXBvn93VxSMFLIc0JS48wxgK2b\nmwTM\r\n=0Tr9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1DCB7ucUqs9YSQmhuXKcgg1QhMd3CJpAfPPSfh2KjXAiBdnag6ZCJ87I6AQxR+qqYCQX2oaFUY0yfV/YCuTUbnQg=="}],"size":2214,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-2.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-split-variable-declarations_2.1.0_1621086487415_0.020116738972114634"},"_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":1621086487546,"_cnpm_publish_time":1621086487546,"dist-tags":{"latest":"5.0.2"}}