{"name":"@putout/plugin-remove-constant-conditions","version":"2.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","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","constant-conditions"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.0.0","madrun":"^8.0.1"},"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.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-UvwnxLTkykC3cR5+fK9TxolWDpbmrBvWPIZiGFQhnxuJUmUVH+zmUmVTOTh04QBcJotG5zJih60cezxytO7jRQ==","shasum":"a7d254a35ca246e5f18ab0e3a76500a90f6ee026","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-2.1.0.tgz","fileCount":4,"unpackedSize":5023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn9AWCRA9TVsSAnZWagAA+U8QAIbIkgSDf6B0Wgl74gQJ\nXg9Q48+3xQjj+3KOwAeYOBW9csyCsbcqF2Vto2TUXzjR8Fe+86RFW3EOuH+R\n7VEzIwU1rMPk2hsbfpFT3Vnpuq+zsB6jcRQJxC6SwpEQUUMdQQcH93+93VjC\nbPTuqWS1jesIB5kNuD8Jdh0UvnwJ6/u1Aa5osyEPAssASRSZC6x6bQGSbirg\nqxE6fjX4A4TtY5tkrRoUrX32iAU8MUEq+pdHnj8zkfGywAtOO0vmU9VkoBlC\n19zjlhZzKFFYURMi+HPlDz3gEiTOADOBAPOP8O4laoHMLjMrb3EnlmGVWGbn\nWQWQ9KhiXlnjIE5j3RnJazrkdjDI0sMCgRI7W3glt6WB+nlmF2ghyRyooIW6\n52Bi3+QTHa6J98qpLrpt6x1gtDcjMd2a8M6sXp9T4m3q4f2BcHGjXK1F67bU\nUjCH8Y9+WQNgCof9VPuRwMjy77nU9cDSOQoFMyN4+8fcjXZDYBK17Tb6fu+Q\nbIX/fI9JIxYDcRPA/7hhqa+6qRrAjeCyv3V0UkAqsmYk5I65+/x4RKsfg2ch\nKTkVUPalO7jr2JgPAnsv2QfLOnT9tTmtjmU+cCVUtx1eM1tTDFtHoyx0a52j\nbth+dDEinpEIbX4OmrFz0eI+6vsuYRp5hwGGXAGUZIAqeWBrvaanz7GDMQl8\n8VSf\r\n=7OC6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHj8mFbtO2SVbrw8Iqigo+t6DFDSo2T5A9ibO3yn9SNAAiBH/o71bljq+hjqWR+v7eL10q7FMriP48/h/5AKtQwiFg=="}],"size":2179,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-2.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-constant-conditions_2.1.0_1621086230262_0.41949904771473134"},"_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":1621086230417,"_cnpm_publish_time":1621086230417,"dist-tags":{"latest":"4.0.2"}}