{"name":"@putout/plugin-remove-constant-conditions","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 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.1.0","_nodeVersion":"11.12.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-jBbtvHXVc+RZ8mA8QL9xhggaNrCjeCT7KG9chlWTKg2+Et48+ZAiS6tcE3HqA/s1ngSV4gFYbx4IfahbKjzAOQ==","shasum":"31db5a17c59963a3aebc7fe0e43ea1f908bc7586","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-1.1.0.tgz","fileCount":4,"unpackedSize":4668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck1/xCRA9TVsSAnZWagAACPYP/0fOr6KX0Y890SeAw9u6\n3MkUpvhHsQHBx1o2cwdTXfiUzDqy6XZgfMY9oYvNuOAOcSxqkJO0v22mIbf6\nEcizKat77/iYPl1L/4EZNRJKCHPKW5k9IVZ/Rbd8BsdPgxnR91uhN6lPzfZf\nON+mdoXroPU2h3C20yiI4IA13z7LUWQYYK8KYyPhirvuiqyCa4B7KQk9HLP6\neL1IzcHYdM6GiOq8zo6lsPN6dSDO96IJPpNlzL8x3Rt0oeyEQjKzfkO4U/02\nE5ghgbIvbt19Fac6korxY0hcX//FTSuuaWi+Rb1XkCvO2yLk/TyxFvkhXDPA\nHa+rm9IEsWx19iSR7++c+1/wYf68LN9jy9RU4H9cPhLGnocJIP6zxt8434s+\nZELS1SU6DKJHm5pPf9cptFccci5DxKArMB4Ha35lHVLpj+xgsV4ouCdPe0ew\n2J5W/g5KxLzXeCUhQE1I0GxmuarXUjZ0rmkyNC0qjlsYDc8271dahfWMrKZ4\nhxSt42HtHHmrGVdZsmRp9TJij7ervDdiQ/dFWHNq1GpbV0Awlc8jgjyF5jSD\nJ+ucSFLsgYATpmYZiRlkR5QVoVH8hhnyUVl9si0IVnwO3Y8Fz4qYEe7mWIbL\nk222ag1Npk/Lhf8Sw3ZmuSiXQmv32syXPMxjZOUPrq7y0coT1E3j+tCmmpNq\n8se0\r\n=Q0lU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf5BM4ThtTbuZdiDxISrxzm7IGbJ5aVFvJhjxx5wGjrAiBJZbGRKncAeZFZhWwKeJuV8RSiGOrepPy34NQwXFmV9w=="}],"size":2078,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-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-constant-conditions_1.1.0_1553162224971_0.3072852350277655"},"_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":1553162225097,"_cnpm_publish_time":1553162225097,"dist-tags":{"latest":"4.0.2"}}