{"name":"@putout/plugin-remove-duplicate-case","version":"2.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 duplicate case","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-duplicate-case#readme","main":"lib/remove-duplicate-case.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"},"casewords":["putout","putout-plugin","putout-plugin-remove","plugin","duplicate","case"],"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","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"785fe0b657cf06518fefa1fe381ba3797807afc8","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicate-case@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-R39s4AaceZRwS032foZ9r3YlxeuHSlJM9A6Lz5G1PDuuAaXE2dXgp0ya6c3NvwMR+RpCETahnoSg9Z1LXxN71A==","shasum":"e1e36764490780d1abb099faf15bb419d8cf0d07","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-duplicate-case/download/@putout/plugin-remove-duplicate-case-2.0.0.tgz","fileCount":4,"unpackedSize":4434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4pQa0wgZspCGFIc5l6ZbkAhY9ijzUlCK0SxQ32noeKwIgFrCzLnmnPQeyU5K9iXFzlKCIQmwyLFNZ1golQAvP68o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiR3Q2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpugBAApFIQzKwazCMo6qDImBdanI/x7tZC+jmVZW8GONIehDVgTIo7\r\nKIUFoj1MoxKOC/MOPM3h40Oe+lEGXFb8X6C+zdRBqg9qI+Y8hKvgEi9QPVzR\r\nLX55zaAtRzcalmWhzw4Xmq9u6yQP0/7uhMEnR5irI3QcPhys6YfgifSVYE/i\r\n2cCudqiRMVq6wTSJ/1dSPsDE5NVdKgjCb+Sj9P7sSW5TwRa/QUpHsAIKpmsK\r\ndV3HOLDcWHxhiNIIqIPKx+pYD+GBbiDfs65hkWefkFrF2CopdNxvkpQgP+b9\r\nb3SYmXTwz0+kW+crE90FgWxU1Ii7Ze5xraX9tzfIL0yYiLykGAkjhaF+q6OX\r\nTvLC7LIJ6BxIjhQBhE/H2lw89Raaw9uYuSWGcbPJcBKllYApISle7QqKj08+\r\niyo2SsXwkC1ovceRMKgGcEaFPa9cw8l+oZmmbcKFyW0yPaS10qFzZJayjy7y\r\nnXku9C2MGhRJquQZ4DLhoRPoKGu4OnkiB/oJUAuwDni4PVMPFHDp4ULK2+er\r\nFHjgjYSP0O1m74xcctaAcGXsPKZrwA1o5vokT0VtRFikyM7XORf1isqCXp/k\r\nAt8bfgouA7nspWvtXi4Q0RM83Ge87ntL7k3FY+VuaoT7jiMMMRxQ1Sxy8pKQ\r\n3biV/Gl1xkaZQJDnKniwkzGUnCMoNz1W45c=\r\n=kAR6\r\n-----END PGP SIGNATURE-----\r\n","size":2125,"noattachment":false,"key":"/@putout/plugin-remove-duplicate-case/-/@putout/plugin-remove-duplicate-case-2.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-duplicate-case_2.0.0_1648849974048_0.1663360065062398"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-duplicate-case [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-duplicate-case.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-duplicate-case \"npm\"\n\n> The `switch` statement evaluates an expression, matching the expression's value to a `case` clause, and executes statements associated with that `case`, as well as statements in `cases` that follow the matching `case`.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove duplecate case.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-duplicate-case\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-duplicate-case\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nswitch(x) {\ncase 5:\n    console.log('hello');\n    break;\n\ncase 5:\n    console.log('zz');\n    break;\n}\n```\n\n## ✅ Example of correct code\n\n```js\nswitch(x) {\ncase 5:\n    console.log('hello');\n    break;\n}\n```\n\n## License\n\nMIT\n","publish_time":1648849974255,"_cnpm_publish_time":1648849974255,"dist-tags":{"latest":"5.0.0"}}