{"name":"@putout/plugin-remove-constant-conditions","version":"3.0.1","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":"61f66ec84f9e660932f4ed46fc416dc9221b2a86","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@3.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-PnpTpP4kcDyRMQo0B/UyaIqjCr5w7C4Tf3PcHgHMQpnjqF3KeHCK/Tx3Y/iuggzBjjK3omWPbWZD4zBEleFr8g==","shasum":"582185f3a9c7d05dfef8902e669ea32f724d3d83","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-3.0.1.tgz","fileCount":4,"unpackedSize":4866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJho5moCRA9TVsSAnZWagAAruQP/3Cq3sRnOTu/ythN2JZL\njPVTz0b4isKYssdaSmY6Hup+Waw5xkfZE1Wqnh0Smtd0F3cvECL95O7bkPUd\nwV7AGFOP3KoA8gXvA1bobhrpADXn9629euIW1+Co6ujrzd/szIUXwZdXZlKF\nfqVCOCHTHOe4GqTwWa/ynzZnSbVC/GsR9imxW2m0uW9FcMCzV9YbnxE0Vzvn\n4beuSQ6T+WidjoLdjECDVdyggZOOvvZ7mRQrOT0y10BFJZ9Qt1qJBkN/XG2o\noVjdw6n+4mRZwDqb4pDTtzXLp07HVmxFq6SfqgEdhy6UfpI5NltcGoKzZ5CK\nXmQNoMYZ9phIs7lwjU37kRVs4G4QMJwwlRXpstK5luMzwMVlbU2smkZYGIHd\nPk8+fQVtE3xTOwkVRPJbRpDl5JV7YjDzal8IFvUmhjsD2n9FKiXF0acIJD/t\nsd8Eg9BVg/pci1M7KXY30vF4QxmD+fB5GHoh1ZO++ca4m6QJBF0gfeql8YId\nG7ORnBUoa480C8n8lJdZzTEu0q5BmJAiBcfiOMfD8OlrUNzpIi4mVRqaG5TG\nQNTegRF0qtvQx0OBl8N3ZdO7FyJOTAtd+gEaAFBEQSE4S4ZWT0sesgnhCzNn\nAbpnm3Amp5Nx9bVqMT6dTXp5s4oEeFyTqYVKwIB7Gea424F16j7ECKhUKcHb\nh6hS\r\n=9VI1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9PzBGgHmJ2tuoEdDRkVRX3e8GCo3j0GVe672SGecDfAiBN2aJz1E/M69bbJ0VkMm8QK9sap6s3brjpyBSPK5PSMw=="}],"size":2135,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-3.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_3.0.1_1638111655850_0.2166244558356396"},"_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":1638111656020,"_cnpm_publish_time":1638111656020,"dist-tags":{"latest":"4.0.2"}}