{"name":"@putout/plugin-remove-duplicates-from-union","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 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":">=13"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-duplicates-from-union@1.0.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-gklKr4UXzk8BuxaV8viqWtAKldmRe2KiQ35vbKmq+HJQHcRD+m52paB0fX/GRpecXwwOGgCkjWSp8ZNmiLeUwA==","shasum":"77c99c3c4e68b1152534ad254761b3e5aa7eed2c","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-duplicates-from-union/download/@putout/plugin-remove-duplicates-from-union-1.0.0.tgz","fileCount":4,"unpackedSize":4184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlopCdNObl0OqqRNDM09UmjkgUL6o9SJigyuNvp5verAiBugQw8UoYsHe/3fAjjy+0A/srkN4HWcylHMWgD7D/q2Q=="}],"size":1938,"noattachment":false,"key":"/@putout/plugin-remove-duplicates-from-union/-/@putout/plugin-remove-duplicates-from-union-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-duplicates-from-union_1.0.0_1636387109385_0.6847309615774957"},"_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":1636387109589,"_cnpm_publish_time":1636387109589,"dist-tags":{"latest":"1.0.2"}}