{"name":"@putout/plugin-remove-unreachable-code","version":"1.0.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":"^1.0.0","coveralls":"^3.0.0","eslint":"^6.0.0","eslint-plugin-node":"^9.0.0","eslint-plugin-putout":"^1.4.4","lerna":"^3.8.5","madrun":"^2.0.0","nodemon":"^1.14.12","nyc":"^14.0.0","putout":"^4.31.0"},"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.0.0","_nodeVersion":"12.6.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-42ahCN5Q9/B4CpQlrlI/54Kgba4gYEVUHQRMqfqlQzRj+el069g6m7bcN6UpC9h/jtFY2SF8USG3G8gxknpgmQ==","shasum":"ee076e8feec411a3f864095da573f5d444cefeba","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unreachable-code/download/@putout/plugin-remove-unreachable-code-1.0.0.tgz","fileCount":4,"unpackedSize":4027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIxaMCRA9TVsSAnZWagAAO7gP/0fSsYe3xG7iBtB9L/a/\nJFZfvmnKwF1mtNHEM3gaekSu0tPzB5/ba1kIrBcYeZ9S/UwrIPC76pbLxXTP\nk4iHWHx+KmUlNFrSqb2uP9nriG0IGmgeJ/4bieMP+ddcLbaGJTm7zjOxTEIB\n0Dt01WocXKZaoaWjvf1Lu1mtuYrkFSyHTBEnZ3nfymj8UeGjv5HTjzaoDhDd\nKSbVJwtnJNYAkhoLLf8GVrhD4aXM4N9CoXDRzMV0TkX+qEst+BTCsHTgDxqT\nAcWX7VSqdWVfWSFer450cNE2wH7FWXd9OQ0yKX7rNQf+q15DOMwkt2gVZfTy\n+ZTCJwO8ovFNxInk0kHpItXwn1JzvULmjru/LG3WzjAFlMpUDNpnSe5y7a7E\nFJZx8iYZXpXFg1+P0/oy9Cp9acFGgWZO9z1mEMxm57XeXOvpNl7+ByzOWpc6\nFqODs+XslvTIDGgNMrc1AZ6kCbgowK8t61+sZ2Qjm8HIrJYLVA1U4huJ6i7U\nPPX8jltEEL77jRtVf43OzFdf7y6tlcy4nNaP0gL+6Xot/bMcuSEdUNJKwH3E\nNWJ8DzQbtIGx2nFbztzLidX91A3f1mx6LHhVC71gVBIk07TTfDiGGw5zIULG\nJ976mhOneWo9TUcxYQUsK65GfZgsP78sggkf6rNh7Y10ymeVCHIMukaPr8lB\n4K71\r\n=2AXj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj5cAm0SRsDTG8lJOPPqPRrKNzn3g36rVVE+a09Q9IbAIhAIie7AxIJuZI2jrUCByy7GGKxpc8G8rrn4+2LGNGhSe/"}],"size":1897,"noattachment":false,"key":"/@putout/plugin-remove-unreachable-code/-/@putout/plugin-remove-unreachable-code-1.0.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.0.0_1562580619835_0.5430800727445575"},"_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":1562580619957,"_cnpm_publish_time":1562580619957,"dist-tags":{"latest":"3.0.0"}}