{"name":"@putout/plugin-remove-constant-conditions","version":"3.0.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":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-constant-conditions","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":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^11.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=22"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"e664ab725c15df0ffe65684e51d88b4506b11249","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@3.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-8tcCCkKewuumksGc1rGFmCiMdoaaLDiYYhkZbTeFVfxH1MnPVkh95gmKaRb/eTxZZuarTiPy4ySmH/F+c/HSBQ==","shasum":"ff736af69346277cca4d26db102a542aa546ebb1","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-3.0.0.tgz","fileCount":4,"unpackedSize":4879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhojKLCRA9TVsSAnZWagAAQjsP/iihn5a+9YcJltt8IPjs\nTHSiO0rb8KwVbYUp8+ut5mlJjKQP7yvYFnBupxh9sU6HbgR+2pBixluCI5D+\nc63aKkHl0CS38QhsXT5fwrNIbICLLlvMclCLTrlImOolP7L7plAv0ryf3Gk5\nmZgP6mwP2E4+rKEzrCHGy4UZFDedIQhVIkXUCwNrzTpNi9Kq5r0HqoiFnOUI\n80P5daYWpb+IrI8J+K0WhnDQnaxpKxrz9caq13nk0QLSPrmEsq+M+MzX6U3P\nozAQtSwtxOaO5Fsy/kr5Id7GD18k8W5j2T5ZxN2nmzWIfTDCaTnP/cBfdV+O\n9Y7Y45QGcxy6waI97HxR6pQ5YTraqOCna9ItZG+3WJjDmuZkGa0cuWwrxu5K\nqEI9ZamNDPMNJM8QmxGeePgar9SWVyixihdbLfUikxxmEHKlYZswjP1otAbE\nEavRVIaprBHNz53tT150qzUuUrbqc5t5sir8uZbcArB6SC0O9K1zRik8BnQJ\nG5nrUmLdCOy3KmfUq2dKlKwq0NQCbRO7H/EYzU9nPaSsS89rClup/AfVzLhG\nXD1B5FBPzEfkWuYWqTzS1vCfiWjV2uekmlUTu8julwLV6VBMD4SpC5Rz4ipa\nF1h24nFjQJ4v6g3+Ch9T2jpx9ihuIJMhE2TncCkdpokkSk+svd18cVFpkOqZ\n0PN1\r\n=6ljz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvlvq80PfcfTmVc4iIeVwMOLsuBCfSufSML2cM/onanAiEAlZezpsAvebuFUcmIcKsC4WOl5NsXrns3jT4a9AIRmWg="}],"size":2142,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-3.0.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_3.0.0_1638019723141_0.721232079721764"},"_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":1638019723284,"_cnpm_publish_time":1638019723284,"dist-tags":{"latest":"4.0.2"}}