{"name":"@putout/plugin-remove-useless-types","version":"1.1.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove useless","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-useless-types.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"nyc":{"exclude":["*/**/*.spec.js","test"]},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint:lib":"madrun lint:lib","lint":"madrun lint","fix:lint":"madrun fix:lint","putout":"madrun putout","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","useless","types"],"devDependencies":{"@putout/test":"^2.0.0","coveralls":"^3.0.0","eslint":"^7.0.0-rc.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^5.0.1","lerna":"^3.8.5","madrun":"^7.0.0","nodemon":"^2.0.1","nyc":"^15.0.1","tape":"^4.8.0"},"peerDependencies":{"putout":">=9"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-types@1.1.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-qWE8lRmL923/GakfxaDLJ+D9ibPp1r5M9/oyDdhrZ+ExpHVH8vy2dtSp25+paptNTdQ6K21P9cp67ngxQGOlHA==","shasum":"8a20e41c7090ca32b247ebb5cc23d529bc986723","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types/download/@putout/plugin-remove-useless-types-1.1.0.tgz","fileCount":4,"unpackedSize":5358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIpCICRA9TVsSAnZWagAA0EEQAJiQujca0J1k36IIUT/O\nmXVD4YlkbIsYxuWepf3WtweUT9WR9WbKcruoaQbxv+qsMqwZ01egMW5ZuEvr\nfikPgIimrbS4hgp14/Syi70d+7/WxGnJqedyURvQcsnwvH7sLWW+CE8Mz0M5\nJ2pVP7rGJX3068ngkg6pb4M8/TOBEK8uvRqjtuaQM6Fi1OChMW9uY7H28MU+\nPR33ICijXdhZcqObUCB6s661AX0sb3+BQZqQaazw0W3aCcXrFh6S7U5ZB14f\ndf8ZVyBe8u3nJcc8iguwjHn6l6AMTWKWNQhjUlzu9fTqCdwNNIjl396sezb8\nS6XWkCVFf1bz2R6HTxDuW7desca6clJYtsl+EEOc0v1UOoYlTsr8rJF+fBXC\nuPZ0ZwurBPOxLGsymQkKGA3SvJ5pEKeApLa4fEMy/r/i3+dqU/1YlivLguub\njqXsO9B64zIsjSRMZdMzZFyF3EvfIBS2k/STNq8L3taGh6rxBt048buzEgmJ\noqeP9fYGFMFmOhQcJG5WzS/FlvQmZ8WL0dc6qB+kL7ZFzS/AjxVc9w+Xxtpp\nHwlk2pIeqouxpziEZAnLESxiKnrwiTl1weEc7FU8tUL4T5+Cwp93Avm+FGby\ny9X54/BqrLI0QtPKbWSvC+zqbBuaUPf/B6UJVuHPh0c5UMXl/nOoQAqGQLky\nJ3ov\r\n=mMzM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNQYPS/Lbwl52rjxSdyMVTevU7cP9V9wRKy8EAnD+HwgIhAKPWim6K2i3Xt37jPcvqKu/vLUexc+8oyw9DX99KEMyC"}],"size":2215,"noattachment":false,"key":"/@putout/plugin-remove-useless-types/-/@putout/plugin-remove-useless-types-1.1.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-types_1.1.0_1596100743552_0.028820281361389588"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-useless-types [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-types.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-types \"npm\"\n\n🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to find and remove `useless types`.\nMoved to [`@putout/plugin-typescript`](https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-useless-types).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-types -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-types\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ntype oldType = {\n    a: number,\n    b: string,\n};\n\ntype newType = oldType;\n\nconst x: newType = 5;\n```\n\n## ✅ Correct code Example\n\n```ts\ntype oldType = {\n    a: number,\n    b: string,\n};\n\nconst x: oldType = 5;\n```\n\n## License\n\nMIT\n","publish_time":1596100743664,"_cnpm_publish_time":1596100743664,"dist-tags":{"latest":"1.4.1"}}