{"name":"@putout/plugin-remove-useless-mapping-modifiers","version":"1.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to remove useless mapping identifiers","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-useless-mapping-modifiers.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"publishOnly":"madrun publishOnly","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","plugin","plugin-remove","plugin-remove-useless","mapping-modifiers"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-mapping-modifiers@1.0.1","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-o0dKF3VzbNO7PVV1zeEJIlsomKXTo56HFkCFCMRFRZiT+edV1ZutMZDCfpPiuXzE7JewP/pcR5u/tMpYXyT4bg==","shasum":"0955a83f91412e6ff89deb7966a14e3f61debeeb","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-mapping-modifiers/download/@putout/plugin-remove-useless-mapping-modifiers-1.0.1.tgz","fileCount":4,"unpackedSize":4112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDSt4CRA9TVsSAnZWagAAXD0QAKDDnXb3EtZIsYafOmnC\n6UNFRzz5Qzh/nDB6XBie15V7BsYXeVhvdrFRFlYUlSEGfhmZizFKDpSXIlSX\nkdZgValnnYSQTrFHE3j85rgjyZcus7XYntO5PkS4j8AI1Dbv7Me269v0aa0l\nGajpH3eM7n4KPzC0cBI4m91/m2R4fRSOc2lHodqMhVtekluu3iInuH6gIJ1y\nTpNJL9HHSNOY3ZXVW7FIn10Bf5yPOjcGUwTsdc9Z92fpe8PTAnjRsDI1RVGu\nM8QOJgxNk8aU/FDKNO8TR7J4VIrb507kGX5EvA0MrJoW9xeLLFy9k1WftoBM\nV5dcVjSovw6mtP8Ym5++M3A+z5kHxmbgyAe5oiev3ediaMVtpJ6kdg4Zd05W\ndLmCQ6tIEgVeRpMpZGF61x/m5M8zTLHdHNr2jkcJBNIB9wD6X+WQm9V7e7Sx\nHFb1NQ2tlMsbIyrirASSRyTybolhSyy0YiLzhmeCwA/pY5pwHFjt6u3RO6CT\n7i7Y4kdjWK+wECgyYgB6G7DehWlCYZOematZY3zZL5l7wbmMRjXL7Orq2P65\nbZPik4aAkBZQ4dq7FaBWL/Q6R9rwm7QamZJ4ytLmKy0rWg4CjJZ6R+f/E78L\nwM7H1w6gQrcFz9o7HFO9Q+y0ulTNsyL+94IZEFMtv01u4/bY5rEGrYJZLH+a\nxTNv\r\n=xrDu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGA8X0sTsc39I8yHRDGHwgeWuas+UWMDEeEhJlUyqGvoAiEA1n7A22pemEfvfVr5Y5XwTCcE6fDvoOq1QHUXF9MKbas="}],"size":1880,"noattachment":false,"key":"/@putout/plugin-remove-useless-mapping-modifiers/-/@putout/plugin-remove-useless-mapping-modifiers-1.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-remove-useless-mapping-modifiers_1.0.1_1628253048419_0.21351180922142698"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-useless-mapping-modifiers [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-mapping-modifiers.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-mapping-modifiers \"npm\"\n\n🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to remove useless [mapping modifiers](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html#mapping-modifiers).\nMoved to [`@putout/plugin-typescript`](https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-useless-mapping-modifiers)\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-mapping-modifiers\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-mapping-modifiers\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ntype SuperType = {\n    [Key in keyof Type]+?: Type[Key];\n};\n```\n\n## ✅ Correct code Example\n\n```ts\ntype SuperType = {\n    [Key in keyof Type]?: Type[Key];\n};\n```\n\n## License\n\nMIT\n","publish_time":1628253048580,"_cnpm_publish_time":1628253048580,"dist-tags":{"latest":"1.0.2"}}