{"name":"@putout/plugin-remove-constant-conditions","version":"2.0.0","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":"^6.2.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^3.0.0","madrun":"^5.0.0","nyc":"^14.0.0","supertape":"^1.0.3"},"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-remove-constant-conditions@2.0.0","_nodeVersion":"13.10.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-cVhlIyandoee+CgZhuxpsCT0bJiLwrCxOpIi14/fQSVZmr5DMZ8U81sp3jZq1/B7qCi0KKqcc0GbVQDw+Z3MlQ==","shasum":"804133e2a729f42457eab7913f04f3a8476de6d7","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-2.0.0.tgz","fileCount":4,"unpackedSize":5093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZKp5CRA9TVsSAnZWagAAfHkP+wSiJMTHQdKB4CFVKopW\n/5Rx/adgUyW574HlHtksiRjCi8sXCxP1kP/1SN5VnJkbKbqIVbcQ5LIocVlj\nbQT7Li5K+68xI4C1DwqZw3rUchSDUw0UJX/mb9Dohgy7tvLe4srw7DE6NZYP\naFDKBEfIr4615iXaePPNerSWRmUYkVOfqfTl7i3qQlN0+JOpwkCtW4rtoJhZ\ntwZbUondRNBQ7pfvjyaAKziqcLcM6PDlfEfiW4IcP6OCzkpj9khpdd1gC6cW\nM4uYuRKbPJF+9qhhY5BVBDUbU2Hl5Pv+TVbsLFSoBspU2yxbojFPa9IrWY9R\nBEEePwYSqGqBRscAJSDo1zMPD+NB8cwr3lmAdBi4lvfZqv4vW0PP9ABooxoC\nfRS95gLm5Zf0yS+FAFHI8d8sRAz4E/Sgt9PGlkeMH1IBdyjNiV7LkzA821Mj\n68IgTIidKlfptKBRTTRgBi91RZwhlg8bbrpUZrGmAMxBPI/pEalqbZu4F30y\nn5uzOuEJcRqrQUOcAZnOT4gfiSy/8u7B0m/0/x+I80seXWZCYVe8ckPtgz03\nE/XTQFyTa5JcOuETxaHzZMExssN6GCLj2OsqT7Yp+b1OlAgUeJgkTtBt9IYw\nVhHCSq/IlhVUko2QP+AUe+TSPysMht13inxwEWuxgB6MM2yrr34Ou+aLSaaG\nfdcF\r\n=hRAN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCghUFV9q3c4WfVR6j+bfJqn6EC5VsL1B9LRi6nCy//AQIhAMrlbSuCDTVJiaYq/SbZG252MbnboepvIpbdW0NEKwfP"}],"size":2181,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-2.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-constant-conditions_2.0.0_1583655545252_0.6921154687233095"},"_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":1583655545373,"_cnpm_publish_time":1583655545373,"dist-tags":{"latest":"4.0.2"}}