{"name":"@putout/plugin-remove-constant-conditions","version":"1.4.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":"^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.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0d7WJZlMKQ4sKPRMYyCNpsldQIV3ZGnq8AQB2MdMQ6Zle2qXUT8FJ5k6SFRk8gGfrnW8Ac5XAlDbBYIPUfVodQ==","shasum":"fde4aa9d0855e010c6a4596d2409003903fc676f","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-1.4.0.tgz","fileCount":4,"unpackedSize":5057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCiAKCRA9TVsSAnZWagAASiUP/1HLdEz2aN1ce7YWEUxh\nhGzfTQI4vYSo32fCJThnUMvWTHmKdpEY+k26SlzWa9OYivuDCrrMgDm07lIx\nqwAB1HIQ5KH4fTOQkRa99FChP7DJmeR15yoZytLPzpB6AUumjfFVtlJ7tscn\nc5bUwZNGRaQt6LPgMNMD18Kn0eoSTm+t010rbT5OqP9YSLraLyBpeTHE6opp\nJLLf6pLD0H39ZnX0Cl/MNbDZBaAdZeysyWc3qn9+t4ka2/qa8zPfjBcjqtXb\nEZKp8rdr6TTXMzexdwggxyWcJNeHkGMk9R5zwsKfRQx7vWjUrJ6FSSbxtchz\nSBxCtPzejGqGcC52LNgEzG0bsM/qbLu9IqQLDB1tPqQyBommI5hmLKOsBeNC\nPuThwlAGJJC3z9ZTOPdkFZlaiK1xep8WJCIEmwo7HfDCt7JZnPr7TePbRruZ\nyMX7Y/woxgIciiwR+SC7rab/w6YYrmhUrPt9Oeu9gYGgaEsKMhYJCvUk5nE+\nG3S6E9AkY7jxvoVKFprsPcJUCihmYGUqgKuJn4zDvPatj7fuVhbbbPLSzo8W\nbzM5hmaBGwo7itG6vmEUPTd2JiQs/GTt8W9YpwYprHqMnHuRt0E7ll49f8K9\nrvlH3r2GmxKvq8U6xjdJ0f8ALwS7Fl0EmqcZv2OPHUpNQ+n0d5QyX+k2k+xP\nVIlY\r\n=Nw5N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC39/NNMQI05FxSaYZLYtrTWRPdntxioTDiDEyi4fRDvAiA+J9N60glCPm13nbdssU2a+by4IjeQA8zUXW4+oZvArg=="}],"size":2169,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-1.4.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.4.0_1560944649891_0.5709336282241317"},"_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":1560944650085,"_cnpm_publish_time":1560944650085,"dist-tags":{"latest":"4.0.2"}}