{"name":"@putout/plugin-remove-constant-conditions","version":"1.4.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":"^14.0.0","supertape":"^1.0.3"},"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-constant-conditions@1.4.1","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Qe2oktXvddVsfnzIzkn0i5f9Zu3OoZkWNO2q2rMeKG7sWllRovV5izsTp5nw/v2YmXvQ2A/azjt4R7RO5xue6A==","shasum":"b47217dd18b70a4008ac02e3f857973e974c2584","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-1.4.1.tgz","fileCount":4,"unpackedSize":5090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFiXdCRA9TVsSAnZWagAADLYP/RUpRiEDUNKGeDBTVWxv\nAsAAcIPxAQNgUmnGgn6pNDPagE/wftxpvH6TFwyA2C+nrWVr+EsFD6VC5fXc\nEkV9/ZuUaIpyOXcuzW+Z7UC4PS1Ok1xOtOX4lE9UoxEHmLYJTEkem3XVP0Sf\n6uVc7GMZ8ODVxnu6PW7ud5Rhunf4t/fZlgdm1JWSuw1IyDsI9aFE8YthA+oh\nC+fRw2UC7vT6gstiq1wGAD+W0wd/ljZLV6qFJOPPHNfGsSdLuvu6bzjCAK9J\n2ihENzq24+l2WWMSCPbXOFmmdOO00LSqNWM9ntC1GkCDsB/VX7c9Be7GMgSz\nFx2DSDoM8sYwkUvdYTHNAatquzGmu+kBhErAW7BW2upwaIZ0p5xTsW/1qCBx\nXq1mnsejNSjJGcpZ+tz7ipqWm8njUAKmINla8w0F08G7td3O5psQqPHSgCtF\nvXixOwt7Shwh81v62mw8D0IQQUEKDfbR5dziNQd77wx3TdiAQsH3Wc3hTuYw\n4/jnB4Ld7wTUwAom6Jfc0JAA9Bq67kccR/9LhxC4kfshP+MmlKKEvy3kohxR\nBL7yvFOF90P29UNSptw7X6lDJsmkoxM/TgsUQcQtOggLJNt7OL8Zz1Uodj09\ntD3jYfmcIaQsHKRhFwgpBSeMwah+NSnOeRr7+GMOJiUI/cXL6WYJ4gbpDvxI\nQPZx\r\n=D8Qh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUzvq8xUEfTLKmNlE0YRKcq3ADeAhtWDTaqyS3qcahHgIhAKe5CPafeJH663prKqOEVkrM04MwN9X57VuUvyGO2FiP"}],"size":2175,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-1.4.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.4.1_1561732572648_0.31684102327460995"},"_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":1561732572773,"_cnpm_publish_time":1561732572773,"dist-tags":{"latest":"4.0.2"}}