{"name":"@putout/plugin-remove-constant-conditions","version":"4.0.0","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/master/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"},"gitHead":"6f6c024a2ffc74a16e9cfed8dcacfb15c3955e60","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@4.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-8Dj4k7yaVvNw3j0O3fyPZEks3MWWP1CP83bMJBBFb2mbMxuIKce9AMPmqfxorjeY2PBZQbG3G+mnhcnA1H22og==","shasum":"1f6311986a91df5e3a7324984e755f953b0cd8ef","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-4.0.0.tgz","fileCount":4,"unpackedSize":4914,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDb4VktsZegM1PHVOV3K8IuXe0YRiBm3kDfAhgxZdXb5AiAmKtWcEn6OWTJeT0QEMs7W+V6MwzJxQpNfdTPx8E0YFg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiR3RyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJYQ//fB6Q5xUxGaIGCEy68FF45Qy3HSoTLqVjgEh1Um8UTypOz91p\r\n6wSDBZiz7HJ4D13ODhc/SSj7S3gktHFKCQgmB4PplinmGtxV1sjktzW/ElQd\r\nJuilnkqq8hqMM45bTs9jm10SnYviN8WPQ3Qcuqyzwdw4D/LTg36fsU4HA6ev\r\nJou3j8nfm+dMlvxEBGVPmpKtuWsCYr/Ne767f4yKFiPUcZeEGz4bR2EJK0A5\r\ny+35DUISIj8R6U3QwyT5sP90Xaq+IHjbEe2kVX5zNEuHRthC6LW7IAjtiVR/\r\nGPZKoxqN9HZMhP46Ts9+BrYp7HLOCNtcf9CX1Txoc4O/qRH3RKcKG9d8MSlO\r\nFbLHeOB1ImXwt3WD3b+S45mq6KmVwP0K8ZVTVyZ1gNEZHueFkVgaiIIQ1PlI\r\nnYUP+e9WuS+6DQxcS8KYzWCLl+WBhyEmpfoJ3IHCzDdp7RnLsF6sEYUIcNg5\r\nR4w0rnTgGJz/sbVENiTjmcJD5ml5A9idfFJzN+Xh+eU97mAirh7Kzyfk1zIj\r\nm5jL4jzPTdbUp3jie8MSYM+1gMg5x7MklR+hEBB58+594wys/OB53G+lvtlW\r\nf8sYXCiqueDRSlmWzGsCPq+8O97eP2Quo0dbW2a7kE0+6v+U0X8doPfzS9eA\r\npdd3zCpaB2EyGXJsaH5HnCinr1ppGTET8x8=\r\n=1qsn\r\n-----END PGP SIGNATURE-----\r\n","size":2163,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-4.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_4.0.0_1648850033806_0.9455075228813627"},"_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":1648850033970,"_cnpm_publish_time":1648850033970,"dist-tags":{"latest":"4.0.2"}}