{"name":"@putout/plugin-remove-constant-conditions","version":"4.0.1","type":"commonjs","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":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-remove-constant-conditions#readme","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":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@4.0.1","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"integrity":"sha512-QJxRIWHlebdr0yW6UV1TO2ljUWg2bl6ZCVLGWfbZMbFYpiH57pEkSUgeHw2i4hSfYYhGpmvaKHcw9jU0tfLS/w==","shasum":"70059f703fe674932ed5f4ac37e26f77c5b3fc6d","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-4.0.1.tgz","fileCount":4,"unpackedSize":4916,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6eI7vc+m5pjg+L5EV0D2dj60uG9Y56wW1hZyavzsafAiAxlEvPPMJs1Eejn5qhwdvXx0rYnjrXokuaWMrdYQclug=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDHFNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZ9Q/+IYJPst9sJMOJPWM/k61lSf+FBwh28TNBQjpRli6IVaE9KtNX\r\nb3/WmCtkrDllxqdk3x+zLHr+kBlyx1q0EVV0dRHKTUA+gtUVevwlXzJXuM8r\r\nlkV5fSi4FzzU8sW1wIy161ac+JLKAAgou2hQZrorFbvOq/KW0dds/7D8zhzA\r\nqV+zPURXfd6ByBnNsYDCcU5z0YFQD9l5trz/XhWBcfjAb0vbecj94g6RRc/K\r\nyqFWWA/Z9Y3RoR+ZFuFl2Iu2i0eYLisFR8HP65OqRGrMxPlxS/J4uJgvMZdU\r\ntHwEOB4zoeWJdsFRxNG1AY7OTw4dxygt9xFj/7epfOYLY1g4vyQ+5oaCTI4q\r\nwl1V/dvlqZ1IwMqg/jptCBU9BCEy1WDqOmEAF8P5QEhaa7zUxgZVtIvVrEiI\r\nMql7FnKvtyUZ7MOihLz4gmWSC9aPrGaX9N7gCbDmtg3HNWXNjd6FhimNkwqN\r\nI7ADm7fkJWHgOUpDzl8gMQto+NBfovJ/dnI8iuP/Wv2eTN8zxvqsy/JgmbDy\r\n9XsGk8IedbbMIVCP/o1muHYu2RBnISuVXKPMoaOibPkKlHsnQ4rwkKS0vgM9\r\nk8jQi68yl8rPEjTJx+7/0uU5mRyKDEv8OhnD7iuap7sJYTSFvJPDnjomd2xG\r\nl5jWq58kHG80r04yAycVUVZXDpe7s7m8Klw=\r\n=L7ar\r\n-----END PGP SIGNATURE-----\r\n","size":2168,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-4.0.1.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_4.0.1_1678537037138_0.13371707595973303"},"_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":1678537037357,"_cnpm_publish_time":1678537037357,"dist-tags":{"latest":"4.0.2"}}