{"name":"@putout/plugin-remove-useless-types","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 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.0.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-t91M2N/eD0j7Gj7fDCQFKh582uM8pw+7VFPuCzc0Cjfhqrr2du+VExn2K7jmUMzk7RXTzBTMScXhARrMmmzufA==","shasum":"015a3ca434bd9df451e0fbd60c65f1c52ade88a0","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types/download/@putout/plugin-remove-useless-types-1.0.0.tgz","fileCount":4,"unpackedSize":5261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIZiuCRA9TVsSAnZWagAAn8cP/0fMF6fKGiyDd7QN5VZK\nr8QW7zs4uF1cC7ydPB4XwNSRBrBRCeSMLDhGG3xAecYDqhWXNhvDdgAb8H0t\nosLBJq8gk5Y5UWsUFygBNndi7yxj6w8zJFii0lRuBHp15+gkVFbLfPrGkHqz\neH43hSX+WcKWEZMv/ygJvr0GDXx5ndUJhUHGCVnZ7AeMhzJTOMNrNF3oL1/q\n3Uxde8cHlQvBj3DnOg4VKTKoxeaJ1hMfVJCstYX8JyAnfs9HaTqhinUzIMXd\nNN4SG8JMoG0wpkQ6FpI/W1mZsZCXdUgr9HzEawxVODkno6IxGMA/9QOEHpio\nMh9+vqD/fd4UYUdDKenNlcM9ToUWsA7llqMPHuXz8FF4rFE4HlivXCf9TL6x\nHc0zpMsNW8wBc/670hSIMsbNIIGwWgt1RlGKlommZxpp2lHGpfTjBYqwib/K\nqnVLOjIUC6EVHXMOPQeih4Ne8lkqwpXvEe9wIzj5emhsRR0GZ3tG/OulPa/9\nkqiLejcOC16OH1f7axmXfM33abdwsMt1+Mofy8Am2FFL7aubTVyRNQeOf4EQ\nEbFgDfGgZRvDBkcaJ2OuPWX5vOiv60Gubl+yju4pBJyoDIzADz5HXG6MWjZ7\nhYiI7keVD9crBoqccBccyYfaRgvE6nQwbGs5Tz691JkyNnySwxNFo+a3VjdT\nGthF\r\n=TCZG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+AiGxHp6BX2qUnIc3AihMDfKMRJ4OnMZMAqaHtJ32UAiEAzCexwNtcvvQz8PrONaT05yIED55cVAP2+MLhW/oxg5w="}],"size":2193,"noattachment":false,"key":"/@putout/plugin-remove-useless-types/-/@putout/plugin-remove-useless-types-1.0.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.0.0_1596037294547_0.6925076982439959"},"_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":1596037294676,"_cnpm_publish_time":1596037294676,"dist-tags":{"latest":"1.4.1"}}