{"name":"@putout/plugin-remove-constant-conditions","version":"1.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove test.constant-conditions calls","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-constant-conditions.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","constant-conditions"],"devDependencies":{"@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","eslint-plugin-putout":"^1.4.4","madrun":"^2.0.0","nyc":"^13.0.1","supertape":"^1.0.3"},"peerDependencies":{"putout":">=3.9.0"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@1.0.1","_nodeVersion":"11.12.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-etXdF39dK/qJpQx7XRzk9g/79DIIV2AwZIRegsEQDS0/CQprvZz2aH3CELhB8gcNCEaOAsYy0p/fCll1afssrQ==","shasum":"5bcea7d6f9d407da3ca1b9881adcddd0320cb871","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-1.0.1.tgz","fileCount":4,"unpackedSize":4560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckiyHCRA9TVsSAnZWagAABgUQAIfM1O2eqPTBDV4QXpbX\n5C9eglgCWrbCBtLkfcaw5PTSq87HWpDguWP6pNV/uIR8g86FeQKvlIZjcYXz\n8mKN7JA+YQIrjMax8AVBkKoCkZTT/ohabrsrt8+PkoSli9Rq3yukB7iF+slD\nzTO8+1OrDfQYqbu2xOu5yv5YpNy8ESLDocutPjO4QhnooLvtr05N7KFbfB3Y\naiL0gGa2Lp8e0tT04RjOT0j8VH9vsFUvCdfE1i4kSbrjIAYhwB0WQm1FlS25\nNzRYtrTx+oPGc0ygdxXGc5HhIeKhagLc8dQg7205ms4Zxp5U83bzYbtYSU/D\n4m7BOaCLgdVI9ZQ5iGK5bR/US57VGdQGZ6VUTByfHeXAfUoGkfGS7xkqpF6z\nt4uRxz5hBhdqqSvianrJOP21i7apTyqca8aXE57e306zRuP3JxJ4lz7FPIRh\nRuukaiYzirJ3gDlA7rUiGKhiRsxhCkdMdrdYatYbynv7P6x9jQi0IBX7gcHq\nIn6oIZxg2hkoCZqJlpHmRXsfOT17P/koVyVJS1MfsIHarEanPUp2DzZj+aOj\nhBkooN/3ZSdLzs67LjUeNAdTJAQB2eEfT88VRG3i6EQ3dxTj5F9GAT2fmRuQ\nNwH3D46+9TdliTFNA6GzECakc58V0zMl8x2Dcllj0qltpj8M99sNOgO4wtbp\nfQjq\r\n=KbS0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAayfJRb3Y0We18UEtINgLmmOutLB4I6LyPb6H7tEbuAIgOxETRVb7WSjNYFsDMEhXMs5r6Ekvrm2JTYuhP+Ju59s="}],"size":2056,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-1.0.1.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-constant-conditions_1.0.1_1553083526816_0.40009581181650766"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-constant-conditions [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-constant-conditions.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-constant-conditions\"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove `constant conditions`. Merged to [`@putout/plugin-conditions`](https://www.npmjs.com/package/@putout/plugin-conditions).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-constant-conditions -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-constant-conditions\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nfunction hi(a) {\n    if (2 < 3) {\n        console.log('hello');\n        console.log('world');\n    }\n}\n```\n\n## ✅ Example of correct code\n\n```js\nfunction hi(b) {\n    console.log('hello');\n    console.log('world');\n}\n```\n\n## License\n\nMIT\n","publish_time":1553083526927,"_cnpm_publish_time":1553083526927,"dist-tags":{"latest":"4.0.2"}}