{"name":"@putout/plugin-convert-generic-to-shorthand","version":"2.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to convert generic to shorthand","homepage":"https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#convert-generic-to-shorthand","main":"lib/convert-generic-to-shorthand.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-convert","plugin","convert","generic","shorthand"],"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","madrun":"^8.0.1"},"peerDependencies":{"putout":">=21"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"fa961084ab6378c0f516d82b77ef52504b816212","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-generic-to-shorthand@2.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-G6iM855KJqI958XZLnYFUCbK6LFdYxixL1xdAiSf61nGE3vkn523HltMsJxgC3Uz+r+FV2MAYOHPIP0XQfaG7A==","shasum":"36d72303b0c95ffb6202b03b4dfe3511c8f5a9f6","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-generic-to-shorthand/download/@putout/plugin-convert-generic-to-shorthand-2.0.1.tgz","fileCount":4,"unpackedSize":4446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4Bg7CRA9TVsSAnZWagAAkZMP/38I5O/sLK3hx21iVGSa\n/+tPbH43S1FzpkRuTUnYEvqlrfvxUC6w/Da/u0hq0Ry1o0KSU4LHXIl+1pjc\nt6B1Ia6hUSDNU7JhoIYRjVkPFCIw6hcs1fj359rd0dTMHalw9MOOEdH41ql4\nztORu7/hWf8wNZsHsb5bOHzsbJeRevHojF8rmxMnRy5oeUnB/8rmyWNJZkpN\nZcAojYyvz0q8qfFKQqUwsCmEXC85XRcSX8cAx4K1bAySXw2zT3XQuBib0EQ+\nOzhPvC0BHLQwhcaeIcpZxiMI20Be2IaVA74sgW7K6h11njm/2I2c6NEPg2nT\nuaUrSMa9A3/HBKL+h8Am+C0MiPm7mNI9pgXy075iak2jnqnNrujAdEiKlbot\n59+mr7kuEeCcAilejGdI15n3uMp1/lEy9+wpQalQcqVoh8CU7NdPmC5+GVQh\nlr6/HtjZO+TVrHRyYDs+c7xhlvJrM5YOiemaxXgx7pazDSAVjdrQYsRl9M/j\nqgTZLrTsE0p8cBrV9KjOyflHygdhzIHoGcpNUWpTZtrU+pV0Iz48O+j5N9g4\nJEg+xB9/1WeNdL/NkC5QuKvHZeXg7Z4FvKl9rYzWqRbmGWbB7YT2JPBmUqNX\n+olK4F7CEP++Gw7xuBxZDhaQjjW+oG5p0s5tfiyaf783e566uXIc4RbYZCBe\nknKu\r\n=lnGB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrnD7/cf7Fqj46degMj+tmX1vxGnjhKmrYnqnWrEqPbAiBkBSg4dT3S78/bysTLNxtpsH50+Y+NLgB0TJJzPaqqLg=="}],"size":2068,"noattachment":false,"key":"/@putout/plugin-convert-generic-to-shorthand/-/@putout/plugin-convert-generic-to-shorthand-2.0.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-convert-generic-to-shorthand_2.0.1_1642076219617_0.7764498267061866"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-convert-generic-to-shorthand [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-generic-to-shorthand.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-generic-to-shorthand \"npm\"\n\n🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to convert `generic` to `shorthand` (https://stackoverflow.com/a/36843084/4536327).\nMoved to [`@putout/plugin-typescript`](https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#convert-generic-to-shorthand).\n\n## Install\n\n```\nnpm i @putout/plugin-convert-generic-to-shorthand -D\n```\n\n## Rule\n\nRule `convert-generic-to-shorthand` is enabled by default for `ts` and `tsx` files.\n\n```json\n{\n    \"rules\": {\n        \"convert-generic-to-shorthand\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ninterface A {\n    x: Array<X>;\n    y: Array<Y>;\n}\n```\n\n## ✅ Correct code Example\n\n```ts\ninterface A {\n    x: X[];\n    y: Y[];\n}\n```\n\n## License\n\nMIT\n","publish_time":1642076219792,"_cnpm_publish_time":1642076219792,"dist-tags":{"latest":"2.0.1"}}