{"name":"@putout/plugin-remove-constant-conditions","version":"1.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":"http://github.com/coderaiser/putout","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","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","constant-conditions"],"devDependencies":{"@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","eslint-plugin-putout":"^1.4.4","madrun":"^2.0.0","nyc":"^13.0.1","supertape":"^1.0.3"},"peerDependencies":{"putout":">=3.9.0"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-constant-conditions@1.0.0","_nodeVersion":"11.12.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-kqIKnkN5q7NPV7zWTQX90gx/9Gk+Mc6Cb2j7pLVA/CNj/9NlDQL9CCKtZxoe+r1Kh2v6mTXK16mkByHgBWa4rQ==","shasum":"fd404c89c4fe09a6aabcf8b5d7189f72fa769dad","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-1.0.0.tgz","fileCount":4,"unpackedSize":4504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckiqRCRA9TVsSAnZWagAAO6QP/jZtjUhMIoEohIrRUpwT\nJIrxKQDoZ5ujDv2gg9B+Y73xIX8W25+e06gLSezrAB8PMhF4xNb4W5UlXwte\ngzDQq7+p0VL6w7dWNRcN263A3OlsbNWHONX32oUNGDJAZkkps8WGRB9LolTl\nB48r7HFjlMWCBfco409aFA5AuOj8WLUF7dyORmwL/OUCQUzEP1neh0jbqH4j\nPjAYRwboHxfP3YDJpJC9KdNt83tRoXn1NToz5g4F/lT8S5JSTlB0feDM7HBo\nyhdZW/7bt4wiudav3eCuR6eqJ9N09tNL/wYJSvGBKsyZsQQa/woL+99F1lVg\n3l6LLyhJKXUda/XytFe50UZzUTNBuM1KGjNQ3lzcEXUN074KOi4zly1mCL1Z\nos724HClN2402Fh7LLRYv1SjnqkvdUbvLJiV6bRklj3QMHQZGE3f04Oco8Qk\ngrm6/uyLeuQ54a03pio8ZNyEM6QxDHTb+hfr9gWHlKbCcEMJMn+X3MAW2R9B\nCfCiF8bL8UuLYs/57+D58qCSI0VbGYg3yN1aJGYmWNrwiOtRRQ2AJQCdQWBK\no+yEZjNFv7iKqrtQgTDM0U37Tfq1Km+tR3kj/90xYPyAqdP3JgRDxLceRwbv\n3ushVOWmwYy8l8zVWFmIC1K9yGGqLLGH6sxHYEuohfqMui3IHQWh1/v54uwN\n9umL\r\n=IUeV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoLo8YmGUWl/gInrOyIzNZfXjf37pUKQGiTY/eEmffJAiAjrpOOipB6L0mEvUbNG31r/mYOKc6/f/X73MDsg6+I2Q=="}],"size":2046,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-constant-conditions_1.0.0_1553083024694_0.34666270232390994"},"_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":1553083024852,"_cnpm_publish_time":1553083024852,"dist-tags":{"latest":"4.0.2"}}