{"name":"@putout/plugin-remove-duplicates-from-union","version":"1.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove duplicates from union","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-duplicates-from-union","main":"lib/remove-duplicates-from-union.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":["duplicates","putout","plugin","remove","putout-plugin","putout-plugin-remove","duplicates","union","typescript"],"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":">=21"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"1ec0e659b4aad0d7441460ef4953425f6f007158","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicates-from-union@1.0.1","_nodeVersion":"16.8.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Ovzf0++QAniAWry0zwz1uZ5b+zex+xPYJ8jt19JpxvpGhN+1mWSc4PPdiztT669f0BWr/UG57EkycEpnc3vKFw==","shasum":"3433bf085aeb7906c24b984dc0411636901fb08d","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-duplicates-from-union/download/@putout/plugin-remove-duplicates-from-union-1.0.1.tgz","fileCount":4,"unpackedSize":4184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2XmmCRA9TVsSAnZWagAAGPIP/0sXTgxrtRjOY4MmZDJK\nZXg+fKn10wEgAsNvCONxw1vqYyj1bQlfukj1IZhCj9dOdWJq93nIJCMutBvj\nWr/loO1IPLw9NyLyVn+ro8bPVpoKVenDO8ZSPAnsBu82WbPZn/h7eUL0puTq\nAA+S6tRSwbJCh4bAg4UUKyKUBdZgkNtKGtcBqT7/3N0BpdZ5n3fRE7qZM87D\njqx4Q4CORyNNyOb9gDOeTvHXDxwaoy6pylDfaZ9jquly419XTAQzrtRZ1Fc1\nBbak79lq6hngzU+FAXR3oMhPN58ErmL/8VJtbucdNIpDh/YTTE61Ktwo4vBA\nQfUfVaY66l5Nja1y74s8mQhiJEYPXaHT6j3ECxUeVlgLWyogv1/2+U1f0T+l\nlZwvew4MbFPyq0MiX1hh7ou46mZlMh+NpEEvtikiCaVo6Ku7KFdHyXMxL+es\nFXDnCv9gHClL/P40SC6RfKKsVDEp78Mzlkd5hS5DiApu2Q6UoHZfUXh1uIMN\nADTc45S5ptLJWclPD2U53Fnhyd9eMBdVtAdbDkTE/Rq8giTrc3kQJuq+pogq\nyf8WmimbAtSEKd074biynIZzKZ2GazFab4wjU+n+eQlQJJrnjWFFzB7aEmhN\nJLafhbVhb88wMQeSKvPU2rYSsj/OFISNlP9EDZKfC31ec5RubQQodxA1ZITA\nqSt5\r\n=nFYC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5JNEsexNh8Who6iG1xhbh7Xule1Brv/yCDzmDD1HS0AiEAsOfA7t6UDljsQM5+mQISb+evCny7GRDpbjVCaeMch3M="}],"size":1942,"noattachment":false,"key":"/@putout/plugin-remove-duplicates-from-union/-/@putout/plugin-remove-duplicates-from-union-1.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-duplicates-from-union_1.0.1_1636387498849_0.7265668745602476"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-duplicates-from-union [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-duplicates-from-union.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-duplicates-from-union \"npm\"\n\n[`putout`](https://github.com/coderaiser/putout) plugin adds ability to find and remove `duplicates` from `union` (for typescript). Moved to [@putout/plugin-typescript](https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-duplicates-from-union).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-duplicates-from-union -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-duplicates-from-union\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ntype x = boolean[]\n    | A\n    | string\n    | A\n    | string[]\n    | boolean[];\n```\n\n## ✅ Correct code Example\n\n```ts\ntype x = boolean[]\n    | A\n    | string\n    | string[];\n```\n\n## License\n\nMIT\n","publish_time":1636387498973,"_cnpm_publish_time":1636387498973,"dist-tags":{"latest":"1.0.2"}}