{"name":"@putout/plugin-split-variable-declarations","version":"2.1.1","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","putout-plugin-split","plugin","variables"],"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":"^8.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.1","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-cTfSYS9LVE5We5Fu12bFnrRAy+tXjTvmT4D+HurJ2e2FCYUn2/vmUDZARIfhqucinF2lv1jDOBA0VbT/b11TJg==","shasum":"afd18a3121f0574fb62d54ae22a92b903ab82fa6","tarball":"http://registry-npm.ywwl.com/@putout/plugin-split-variable-declarations/download/@putout/plugin-split-variable-declarations-2.1.1.tgz","fileCount":4,"unpackedSize":4667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEViLCRA9TVsSAnZWagAARh8P/jET4Poz0cCJOK7ZYnK9\njNgX79O2aCeOwd5btv66Fg6JcEArlrPE3ULcwPDRJuhZx7QRF3YIhIL37yW5\nstzhqf+TnFwe5m8CW0Me69q0PFLMwknVU9lhlZ+6o3C9SNR0SeM/wWfdbehg\nsNbH4jo7XjYdezWblMu9jDWibVYy5M7tUwmZgLg+FNynTuMqwsNe2KGgs3xD\n8aWNJ6yjokpdQSA3VdCysu4d6akKsgmx/cadgZmfmrG8JiAVQNTKkJzUBFAC\nnTItF/xDW8MY6SKd3xZ7pUDqF7XrZ/EEJch/TAF5FsEKL2LG4As2IAkBA7ua\nuNYhH/L+xLRxb5srindlDd7jWY9Q4QqdO32kBZluYC/UVWkPfgQwERGWcsfi\nza4GrBCT/kW5BclyoJzB5ELNn7PQsQFLkFo6CddCaqGKmOi2fvPQOE5bXtKx\nnDz/8cisiAXjez/8sX7ohgcfXW0p7uxWcomjZHTSHQq6x+VZOUgxd/XvAE7f\nGe6TXiHYcg6ZzBqb1AsxmnQsluw3l2667D7Z+imBvsgA4e1Fxh6Ai+rqhqzW\n3+FqlBLlfe0Nr/It0nsFILiL+eK4bqmDzvPWT2vL+036dsXVf/uDWhVDtDjZ\nAkpwnmQtC6PmYO7xfdsrsZmqYOLIXmzJldaBWNLNozQNaUGeX4xmzQVox4x3\n60H0\r\n=Wy3j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBsh2UdSV/I2/+OO5vYHv5RrCliOYaZ1KPcPfq29n7nAiAJPJBVf6hW0Sxx/UGEpipLEI9apYBoV4WJEM+iphFdzA=="}],"size":2058,"noattachment":false,"key":"/@putout/plugin-split-variable-declarations/-/@putout/plugin-split-variable-declarations-2.1.1.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.1_1628526730899_0.44771998163699944"},"_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":1628526731006,"_cnpm_publish_time":1628526731006,"dist-tags":{"latest":"5.0.2"}}