{"name":"@putout/plugin-remove-duplicates-from-union","version":"1.0.2","type":"commonjs","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/v24.0.2/packages/plugin-typescript#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":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=21"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"fa961084ab6378c0f516d82b77ef52504b816212","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicates-from-union@1.0.2","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-z5UcJXpoDTG86E0tYERdr3HlCFOYJmy0O9LCLHiZBAL2DEmsPXjma16FIJpOcjOxOFK6BrDp2esa6jy4kFrTGA==","shasum":"616dc077d9c2f15f34626b3a67618e902939ce84","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-duplicates-from-union/download/@putout/plugin-remove-duplicates-from-union-1.0.2.tgz","fileCount":4,"unpackedSize":4395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4BiQCRA9TVsSAnZWagAAMskP/jXSnMaaZdE9rqIR2UO2\nlN7OCFlaVyf66AB8MtKRUzPmK3/W0qaJfuuZCUbAxemu/F1ITnh1Qc5X8YDo\n6rHyjjQCkKRbyw5jCLsm7C+vKNU+b9aQ+LXOkSxwd7eMDiQW2qoFjtCEHoP9\nwT55ZS/Cd1mUzf0aRlEu6g5cdsOvgyWvn7BwhU9Ynf+Oj0HYe/N/jipx2EEz\n2mQgXW5286Mxp5kuiBP5zFcNU8niVdFAXXbSjCaAiMTf+FKnnMioAkBl06Zi\nrgzp8uOgG9KgWY8KlW6pvlVjqQwtosavTXyUN5CKUkKSInwJUVN+c68V+6o3\n/hSn0BtrgX6bFUr9JsW8HZMZgrq94/g5sX2YihrM+VPuxRdrQBF29C2H0Z6q\nB6Svr5VohLwkGyW3rxUGay0fkHMxSoo9LVM5fBO3M77UQbBvt26o3a/csq0J\n6GkiaNbru/3OR9ZyLT3OkcPU17VTk1Cv4IsBXonCjn0liuvZNZjRsVh3xs8c\neRVDJ5E29m+Vkw3ZeAhSz1xE7g7W2afDC0yBuKIfxJZ6N03AMRP5Lws55/RD\ny6jTkFOkTCxcb2/dyjG5LsqPMLMAUUOsgok/Y9iEoC9nnMbHHHBW66yCLfuw\ng7IP7fsaQtzE5oR6H1HKEH7XRlJkeu8ZIxw9d3yTn5DBKQ36P9CVwm0QXVW1\necz+\r\n=G1vF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbHAtitgHBxvFPpKzQ+MLPdg+kN7xxeknCXOFdR5OnQAiEAzaKGsdruzeT9seiwkimoBQLhFZfzRz8yqG8LZxUveus="}],"size":1982,"noattachment":false,"key":"/@putout/plugin-remove-duplicates-from-union/-/@putout/plugin-remove-duplicates-from-union-1.0.2.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.2_1642076304722_0.772060353965635"},"_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":1642076304839,"_cnpm_publish_time":1642076304839,"dist-tags":{"latest":"1.0.2"}}