{"name":"@putout/plugin-remove-unreachable-code","version":"1.1.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","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","unreachable","code"],"devDependencies":{"@putout/test":"^2.0.0","coveralls":"^3.0.0","eslint":"^7.0.0-rc.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^4.0.0","lerna":"^3.8.5","madrun":"^6.0.0","nodemon":"^2.0.1","nyc":"^15.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.1.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-eCjQtc8+kKBhLGo//ZHoQqvycTiPO2ARYinbzi6DdxPQlgo7lI08vHp4ow1Qo2J1CJrPqLuEgW0TCJ9H6OSsPg==","shasum":"f5b32edf970b7840867c1f26948b4e6886aa2b00","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unreachable-code/download/@putout/plugin-remove-unreachable-code-1.1.0.tgz","fileCount":4,"unpackedSize":4172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1OzTCRA9TVsSAnZWagAAZlYP/1BSoj7Xk/D+33cYF9fr\nxLWCZqkFJ5Idadyu73Xu/DQAqMOkxl8l2ECftNWRfa/cy4Ef5SswoE4AwDMI\n3Y7h9ay0MIVbW19IZK9T6mnfhFiDW+GJmTYSXklDVC7nvpP8tXiYbNu2TN0S\nTyy/iAnoQHAUMazJZVlCwRrFx//Bcfzb0LscXuPHLYKvb7lI+lnDMW0DVDk5\n/k87lBVjVcH3ntdGKeEOBFiQnh3YoYS8w+qvyZ6yW+wBtpx8D+QiUJxGQT9C\nqcLjWrDSNsD8ipv6M7a6II7N686tQLJp/NHfB9sQ7kI7+yyJq2DoqFL50N5t\nmXZDuEvYROTKvZGk8zLhpHXSeTToxab72/0pruZKHmlddf/3ESPpJDeTz4xG\nrICX5npsiUuizWz4Z76EzzsGgO2z8pWeaNjzJ1LC3oY/yRsoHvXJZDCYBIsQ\nWUrw6D3tgpgVU9yR1O0p3szcWV6qzOhMEORfTwcwPGLmU1Jszo5PJSQxMd5D\nzl5aBlXbfvAYASmO0kUtjlOjwGOzckeEgG2Wahg2x3WITLF2L+ywx+0abLmV\n7EjuiEhybFdSAprz21W1tYCIAHHf7mpiAVXCjHqE9l4vV2UiiLjbMclct25k\nEJVDjccSDcpdnbDuqM5XMr/i+askefhWhLV2fubx3iEoSapEAYBciCmLGj3r\n3haL\r\n=OQab\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGzsYz7jI3SJzGcPo3B4PPiZFTzPTMkDbnvp1ZnXCfSAiEArCIf2bSNiXvGPxz+//C3wJa/S09Bm+pVsMnNo3fFVK8="}],"size":1945,"noattachment":false,"key":"/@putout/plugin-remove-unreachable-code/-/@putout/plugin-remove-unreachable-code-1.1.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-remove-unreachable-code_1.1.0_1591012562940_0.6667937623680109"},"_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":1591012563034,"_cnpm_publish_time":1591012563034,"dist-tags":{"latest":"3.0.0"}}