{"name":"@putout/plugin-remove-constant-conditions","version":"4.0.2","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":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"b799c0a5d9937e6bb84e932aeea81be99dddeaa4","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@4.0.2","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"integrity":"sha512-UN+SlFVkSFbKjA9aw9WT32SaKnfeBo+TX0fqDu/dAyoe7gp8GAXRnDr/Yw02kRkDHmAYEcoKd1EGpRhhWHX1Gg==","shasum":"ca37c71c98224bc3bc9c9139f96f1ad31d51ed01","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-4.0.2.tgz","fileCount":4,"unpackedSize":5015,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhb89D6WRjcEiS0FBaygW9PPvBKA9sWF+H0vQBXW7pqAIgf4lujKeQmCJvOBcQlAyPTdZ3qmdSVfuEmcjTLRQs3lY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDHGMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAjg/9GtKDg8tzrOa+M53ZB+Ky/gPkPc2EyMNLyQRHXPXu1dI1YvON\r\nxLr/6dUmC0N3O6E6Ai5yjqoG07rDHoH8qnXXa82i/Wc3EnCF4pyUB+mMJGvT\r\ngmX/HvGxWtLoYhLxVYCYnmpbW6r8tYJmC98jxZ3cLGpHlsVcm5hX3onKQ3dO\r\nS6LnzJDXvn8EZpEAyDDQf8a77Liud1BkIWWCnfLxLMNT7FZeBUQnt9I+qpKH\r\necvWmnRK8A+NyhVa/1VEk6p/YYD5aeS/QvP7Hz6hmZpFFbe2dMwFkmdzTyYE\r\nTxmHwBO8OI5r+DAt2aJ37GhCUne7NZQ+hHFrPjc9py4dGpOvhax3kKSK/BUy\r\n7W1LY4ATatejsPRVR2dDRPiUl1T8bUZ5fiklSNu+gEZWCKWxJwasC/MzmhsB\r\nBcOBl4CIEOfBfNp1pMfqTw3emrbN0QfLjwuj2kMzWgyDchHog0VjZE6RGCiV\r\nXhNxbKJfp6B5qGQEgOMpm7lnXft3UexaHzdFrqairSV/N2ORWPHqpXtyiPNg\r\n9kLe6nw1ptZFYvEWaeuEiMO1EEprnN43UJeAIw4bZpuhh1JMt1v0dkVfc5nC\r\n0sBK94OIdPGdtseknGTUpBjYLmeKDAw/+pMrk+QSQBHELS8e6TSi4GYvARyH\r\nq1JgijyEwa0hQPIG3DVSU+MK+tyvG01pE1k=\r\n=Tja/\r\n-----END PGP SIGNATURE-----\r\n","size":2197,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-4.0.2.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.2_1678537100667_0.2136927886459261"},"_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":1678537100862,"_cnpm_publish_time":1678537100862,"dist-tags":{"latest":"4.0.2"}}