{"name":"@putout/plugin-remove-useless-types","version":"1.2.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.2.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-53fuzNi4zXhoKoGQQTJBV3FI7QfCRtjKT6suP/3KUMz3Tx9StSOMOEp1zJC1Mo9z07exbVqckWG2yCKDy2ml9w==","shasum":"27fbc428383382011a7b6f2e2e60506fce2e9420","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types/download/@putout/plugin-remove-useless-types-1.2.0.tgz","fileCount":4,"unpackedSize":5769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIr2NCRA9TVsSAnZWagAAKQgQAJ3uS2t507fJg3gacarE\nVP3MI4396/GIswdKeoM7E/hNhBtaNWwFfFM6TqauIRSe+tLLYlnsC5DW7pNO\nXt9lrDNHp2Rw0RCFx/bc76T0aqFKa16lIcHD3q5W+RRendYVC/GiEV6Qdjhx\nAN7zUlboZQj5zhpY7CxWzJrVk/unWLywuKf7or7C0mr7atlqeCBqY485i20M\n/CphojaImmJyTTz3/L7z71yaglt9D7X7TsI43nCZ0MYSApeyImkoJIj97+il\nXDjLb+uqrUiErfoeA4cNVGOiYiMux9xOc4xNoTjlvetgZpYxF1IJmvtLLG+I\nB5mlaw6grtAHEZoZkXYGyXpy78cRFl2h8GcAZk3FFRnrzgCP19slp62pUB5E\nB+afy4rsld6RFEHbzcrBg91xuNVBnDArcs5yGtcxb+15051IVd904NvmHnV6\nqx6ttT4L5ljlXzdYS/a8YjnbBrEjkwXsE8eS0ZWttSoojWdS9NN0mbgVeTnf\n40GhVYxbfH1lV6lB/qE7H70U2komklRAeaOQl+aslV2OxVgeFWgMdtjh5r5n\n/lKhXwAIMlq1YI3IeNMGpibYkNbRul5e9Pxa3vmqy/f2hFU2Ogq4oE4WrQso\njFhoOXvTvZgAKr50o9Htv9MmgkU7R3sM2H0f8tSCg6+nuMWPJMO253+sq3sM\nNmSb\r\n=sZ2w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBzzbDTt2dUR9y11arUIMMY5/Bya/wvI8Y9u8GO75NlAiBna8fUYgPreMMod+OjMgWsy9iRWbVZvDsb5OdDILkx3Q=="}],"size":2277,"noattachment":false,"key":"/@putout/plugin-remove-useless-types/-/@putout/plugin-remove-useless-types-1.2.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.2.0_1596112269274_0.9244474462214232"},"_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":1596112269426,"_cnpm_publish_time":1596112269426,"dist-tags":{"latest":"1.4.1"}}