{"name":"@putout/plugin-remove-constant-conditions","version":"1.2.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.2.0","_nodeVersion":"11.13.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-+BUYfKjbglpr1leLAzrbk8vYFmBpp749P2B8lHbjrLKthWSf9xpEKvdPFnEPyPx96JuxU1ocen1GueOl5wzGBA==","shasum":"cec1c5826cdd4a193c690fb6245a051a93977bf3","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-constant-conditions/download/@putout/plugin-remove-constant-conditions-1.2.0.tgz","fileCount":4,"unpackedSize":5006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq3pyCRA9TVsSAnZWagAAt4YP/27CzX5l2ZPlEX5X8qaT\ngb/pyE/7PPzDf7YC5VH8k35iH2aJaYgvwDgAFGN8Oj4lC7bMdyCwTUYgHiAb\nbHjM0N4/xD9g03NZOmSrtcSUAZ4ZpBDX5g2Fz+WFmXNWmk3vznwm0Gjyc4xp\njzEaLOFiHF8eGecTkz7UnMxYG9H4QjWKoD/9u6s7WFjxyqBzXRCZZGUpBdx8\nV6VAtD8Z/xFD/7u0VKOQA3vIAjxXDVz2wPhO7jafVatPqA4Uz/b4ep1AWLmC\nY84fYCO3jerP3DffasQGKs6NT1Y7+vrvoY1vdbl4UbCK+euBkqXcwHzY+mJ7\nr8xixngPwur5IcaFFenkV8gD80qMXCBhnE0TZJ1HNw2RCq/Fy+1l1fTg2ayC\neOTasyBlIlnU9937F3TSbRSoRMkvx6UFAanzLtimFsxsYhLkTgonTAQ62NM5\ngn29c/Qw93/V2VXNlwOg2rbs6QJK/FBT8L3I4uo9VbnUze7PQC1A4xpHOVT4\n8wjCKXnD1d8AdfMZr2bfX9opGPaWQYf3aA1JS+J4t9gjeLgAIFAi2vyhATsh\nGphrnQVzDnn0k4dGwdyhhwnE3nizkiG+9hfca9ZcVU6Z/9Uuy0bf9qhyTzFb\n8nZAWh4OAgRNmjoJtseryuogQlbirxuWJTOgID1Z4T0COrnpWiGbDxNqSqJH\nGgxL\r\n=OLZl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/4Fh3VjsEbtVii2MjYRvhUHlguh3v5k7XvdNNz+5QaQIhALk6JmrnjQgribG5oZYPa17vC8uYIMOpZzESyiiTnllv"}],"size":2164,"noattachment":false,"key":"/@putout/plugin-remove-constant-conditions/-/@putout/plugin-remove-constant-conditions-1.2.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.2.0_1554741873617_0.4240918632775048"},"_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":1554741873773,"_cnpm_publish_time":1554741873773,"dist-tags":{"latest":"4.0.2"}}