{"name":"@putout/plugin-remove-useless-types","version":"1.4.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove useless","homepage":"https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-useless-types","main":"lib/remove-useless-types.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":["putout","putout-plugin","putout-plugin-remove","plugin","remove","useless","types"],"devDependencies":{"@putout/test":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=9"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"gitHead":"552ae3a3c5c8656b89aa23aed69532f0d52f35e1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-types@1.4.1","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-updHgikQHCRNeWHYihNh42T434Vs2W/XMzeve//e+KP2RW4FOuTA6q3Jd5rlf0zR1+pDSuBcJRwU/f0x75Px3A==","shasum":"895ed25d7f52c0d797602ace7338090c39cc6b89","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types/download/@putout/plugin-remove-useless-types-1.4.1.tgz","fileCount":4,"unpackedSize":5297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4B3kCRA9TVsSAnZWagAApSwP/iJvS6lna/IriIesXKsG\nb6UPv2T+jUlluBOJT/MQtQesG6qgxMdU4ZC0fcqsHTjg98IWut5Ya5zLoO8h\n6+HBVrZzz1WUT7jU7lpW2EYYT7LxA4geHMq3L3H4HthfrW38S8aV3t+kHCQE\nJavk8JdjPlhBWqV5Xjcr/gGe0XVs9O/fMywHR3wrKR2RP+G6fX+kS1tsKHT/\nfIdYYDK2qqcm9RXHlp/UnQA8uRAtsTp9hmV1duUZdOcHVDE5DPJD6CUWyREX\nQZM4ZlZ0qWDgag0hMyOsxDwemBMYFcUW1qzV2jEhKw0Jsv6kRjtWeFnAFPNg\n8OflTpVTiNZBSWZ79AcyG3MUKIok6UH5rdr6aI+Vak1sZkl634FFC4uvEYr/\nuJdp0GtGRt03EFB+a77OM3r+qp8P0CE6Yake/Il2ZcYzbe21IvQ6x0T3/+R+\nC4uHRQvmjOYcidNhHtOf3CxSivmoSHKfcb+IVpNPPeIjKfx5mZZqZRIR+w80\n0HJkX0veU8JOxopTGQ/XMlONIollbOY56b8c0jcUGQVxcXpLaP+yXvM/iLpb\nEnSqHmOuTsfO+BSU9abwe9TKdOq5+IUCqTZ3m7N6exMq8ttimg3lUtV8WOxW\nyvt4WuLE6xBt1Y6vcrycamAS9uQjAOUykampbRcV9sb0LPwSqEocAAsaYYnH\ngYHE\r\n=huMu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2zgUusKNYIBu7YcRQjMof2dHKAFuo3t2O+HnRYIfXJAiEAsff99fwSO8RprLA+xrt5A9Nl+zViF0fN8nMoxm9RM1w="}],"size":2163,"noattachment":false,"key":"/@putout/plugin-remove-useless-types/-/@putout/plugin-remove-useless-types-1.4.1.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-useless-types_1.4.1_1642077668601_0.4946959452355906"},"_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":1642077668765,"_cnpm_publish_time":1642077668765,"dist-tags":{"latest":"1.4.1"}}