{"name":"@putout/plugin-remove-duplicate-case","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 duplicate case","homepage":"http://github.com/coderaiser/putout","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":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=15"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicate-case@1.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-OARyVlNTBFmsHAtKAR7pQQ/6Dsf6Qfenu74luaGji3EPmBvAQkprxUQfomr5umLfUJKk0Zwvh68c0INxh/VHQQ==","shasum":"e58f4c3cb562ee6a5545babbbecc44780effb75a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-duplicate-case/download/@putout/plugin-remove-duplicate-case-1.0.0.tgz","fileCount":4,"unpackedSize":4246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVjGaCRA9TVsSAnZWagAA9DMQAJm17VBHQdDaxLVY4T8G\n0h+drp4YfSDKDfQLvEJjB94r2CPXlz/E4JzUJWfywEYI49twG0Hj2li+t0z3\n0Zp97VgMHZwIIkgnSWgJrmGUBbHKmT7O1g+M1K10k35LDo22g2t0WLrjfj6H\nULDAYfzm87HptJ98ExNTTLazXkUvdZWmzWjsusfupaoOIdLa3gXK5ozqtp6x\nQ+uSnLrq163bFuiXQcWW6PW4gxnfS2yIBsWisqf+Mc0m575TX6AjtDk2xs9s\nGoNbiY/AvH4qaxb8u44J/dawtfgQJGt81hC4+chOJRRIDgcF8SYkdmWza7zJ\ntJuUGAUKiNY0tgAolPA31z9x1tE+V47UtKUQ3VREQVNYDDviiHing5SGb157\n9wmMln8L2yWOIQdRIWgkp6qnyrZ4n2743INF2zOobBEJf4zvAgJaIXDlYPvG\n5wSYRHzWiGXDvdlnzZN7zv+NScl3uZlmG7j84gKuUzpGL2FpAkCACSUiVcTE\ny6Ch9I71yXfiqD8RA3JoY/H3p/pGeE+tHUb0b/hVOd83VDytYhrwpE9IpFZi\nUi6cZAFs5x7B87xejty29Pb/T7dWiRH2Pu3sHQLPTYORltPqb0xz6bvanUkG\nhhyMrBg7KuEP8m33c6BjtqMDGKgjkQ3LxOKzsEpKhb05RW/O948sHgiyhLAi\nYAAs\r\n=CCGU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWq35qzTE2ikCeXMwfDxOCuy6MgY15cBDCl9FYYuYBigIgOVm9w6z1gfbPYblmJ+qZ960c76P8lN7ZFn8dlS4mibU="}],"size":1970,"noattachment":false,"key":"/@putout/plugin-remove-duplicate-case/-/@putout/plugin-remove-duplicate-case-1.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_1.0.0_1616261530280_0.33984565133378175"},"_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":1616261530539,"_cnpm_publish_time":1616261530539,"dist-tags":{"latest":"5.0.0"}}