{"name":"@putout/plugin-remove-useless-types","version":"1.3.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.3.0","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-8lVk63YJc7A21xcjjlsXAhydKocHUZTA11YRL576fRlJAmh4t8Jo/1KnQzRaZSP61tkGhKwtE2FSeRyxGSx6kA==","shasum":"d45c2a99efd17524ca93daf6745468bbdb8b551f","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types/download/@putout/plugin-remove-useless-types-1.3.0.tgz","fileCount":4,"unpackedSize":5719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhsR2CRA9TVsSAnZWagAA+WcP/AzetG3QxueXphHRMYx2\nKtM4JJEBQYTEcNkEIIZfq9sLKy0/3eYKcqMBo52IqZ78ZQfO/j/GcedF/7w+\nW/uCXVvp17B+Bk7diws2Wr9wcnZ2D2+uyuOLLKnLvx7wYRuqzhBrrOxQo+fp\nzD405r0VMfNqbK9wPoJhYbU2DmoNqp+1Ac2QdKyqa+ouZxMHVBGLBTFWTnvU\nR80obpUueX631hoBIsUMR9SRW8qtiHv6wRZUNK54ptqalyJNtW8iISmC0HGD\n3se3iwuQC67lbyC9mM+pJBr2FVPsTIlLZfrKFe5MFBHzxyoWn4hvWB/0maQV\nBut9QthNepn3Sev8gIx62PfICX9FvXll00Cu9sn2KvuxmWLsoKTJCfHFKosw\nYqfZh4zUkhPRwS+JDU8QdwazhXm4cEvUAJyNh/B+8UGuDVYJRh2VTcXQRK10\ndswy8D2qMjjeDm5ngfMtDOwsfL0nBUtL6B1vveVZTCj/M8m1cyePInp+E6lh\nGbYz8C0B96UBOwYXPgTWHtKidaGIrCqFXrI0Y2TjFvtViIMfEBVF7vpJ3j2u\nu4CK77In7Ns4Ws5kC1VrsmcEDNXwn3YtcsqVGQf3PbP7oSf2v3659Tabs0of\nsSYUSUeBRpNLZici0LsQ607ij8no9yXbpNVGLSmG05y8McWB4wJlHocyn1O9\nuTnY\r\n=LgPu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDT444VBypmRlGfotJmoPc2Wrtezyy4SK0pyqqlQTMJ1AiBfLsZ+ohBWGs9xipuejcoGYOmxAkL6S+lsaLUk2xd2EA=="}],"size":2247,"noattachment":false,"key":"/@putout/plugin-remove-useless-types/-/@putout/plugin-remove-useless-types-1.3.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.3.0_1602667638040_0.2594576312286585"},"_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":1602667638199,"_cnpm_publish_time":1602667638199,"dist-tags":{"latest":"1.4.1"}}