{"name":"@putout/plugin-remove-unreachable-code","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 unreachable code","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-unreachable-code.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","remove","unreachable","code"],"devDependencies":{"@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":">=4.31"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-unreachable-code@1.2.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-3UkXYoeXVeSfcTrHENsRhbmsh4oxUgIpsAkFn7knKmi/WCVH7n0jQXUX+RRziX4E0sgs79mFodnMhQWtqMFXZg==","shasum":"dd8c485cbfde4d3179f68e8a9f6055c48f04645e","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unreachable-code/download/@putout/plugin-remove-unreachable-code-1.2.0.tgz","fileCount":4,"unpackedSize":4132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn9A8CRA9TVsSAnZWagAA9jsP/30CvTGmJIHgkjlSjUxl\nAd91dbZFPfCH/QzzhcLX5hsYe5xY25GlLH3bxuJmIFACBljPV7qrCy4aYKWS\nvjAkh9Dh825JAJJQsAdDvDBAgzTIcHTQT3A3TcEk30ULfsrpgemAH2tRpGns\nCstHvlama6OSacbf76VmgUns44p3ajTxvvCKKZCF0nMbZV8mCA1vrMgVLsx9\nzYfAnIs/et2kb9sStE9IqsPsZfY2Ie1/IYYi/OJY9L2kQRTTw9mFbbxfggkG\nZ/31hmXryzI/sbdHyHCrNB4QL7ge/Vg0nQ0n5uKmd2XFAoVvY4nkRKbkq+U6\n7A48cvE2lRlEx2jgT+EtBRlbWMJl2Ft+6LyEg5PDZdBFY46XhaanBaM/xX2S\nIDYylfwE3Dji8UB7QHyMsrKyNaKgCltubCCw6qw23WjDT1GIqViHYF3foeGq\nEJvB6ejVJ9I3svW07yXhfQYduZpfS/MjMQWKqLB/dIsJnQFBfPMRMx+lNcES\nrWc3A37+6wcH118RHEKOzCWRYUiVuT4SzcCrPwfqo7QzB83QCDDqiu9G6i3B\nDjzFbR8UzStjJUH01BKMnFJT8GmkxWzY6MoiwvUeqLuZ7gHuC73opEOQccMF\n1U+xQFSCbDrGG4bcu8eR8z/G5n7vi7KlH+UyxXJhPzbRlP7m8Cur+AkCgSFz\nv3nC\r\n=qTIA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDv+ZCIWwDXqKc25iz1Q6MV0BHLz/JnL1pCDcBIg3+deAiA/q+WAWikYx3e+NI3TjtUsvTx52tX78H8h/Hb5j3WzwQ=="}],"size":1943,"noattachment":false,"key":"/@putout/plugin-remove-unreachable-code/-/@putout/plugin-remove-unreachable-code-1.2.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-remove-unreachable-code_1.2.0_1621086267566_0.9042177846707924"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-unreachable-code [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-unreachable-code.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-unreachable-code\"npm\"\n[DependencyStatusURL]: https://david-dm.org/coderaiser/putout?path=packages/plugin-remove-unreachable-code\n[DependencyStatusIMGURL]: https://david-dm.org/coderaiser/putout.svg?path=packages/plugin-remove-unreachable-code\n\n`putout` plugin adds ability to find and remove unreachable code.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-unreachable-code\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-unreachable-code\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```js\nfunction hi() {\n    return 'world';\n    console.log('hello');\n}\n\nfunction log() {\n    throw Error('error');\n    console.log('hello');\n}\n```\n\n## ✅ Correct code Example\n\n```js\nfunction hi() {\n    return 'world';\n}\n\nfunction log() {\n    throw Error('error');\n}\n```\n\n## License\n\nMIT\n","publish_time":1621086267713,"_cnpm_publish_time":1621086267713,"dist-tags":{"latest":"3.0.0"}}