{"name":"@putout/plugin-remove-useless-mapping-modifiers","version":"1.0.0","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.0","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-86hGOGmeMpJNnx/ZDbapme3iR4SV9Ty9fxNzeFAbtM6e9ERKiI/OR4+ENKQ5DrAT818z8vb0hbMULXyJKHTi7Q==","shasum":"55f9e5cc5207175580d79d59fb65b91ec41dd3b4","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-mapping-modifiers/download/@putout/plugin-remove-useless-mapping-modifiers-1.0.0.tgz","fileCount":4,"unpackedSize":4000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDSguCRA9TVsSAnZWagAAvB8P/izDJ7XqeTNIUS8RvuHJ\n9WYVWeqc17+YD+Gv3NM2tPrzLswn5qK33TcWii7TgYBBHpzvMmdb63zLHejA\n3iCg4jJ8Gd4vFrxmRQ/sgPM4XZWVmaxxpFe3GHRBHCZWuj+ZueMLP+qREbJv\nX/Y2FKy9JjOlIRrt3+4IANFbjwObl2XvX629nmCiDB4jIXydeVs+jf4652aZ\n7QzLHX8ykBU+sz47wdt+no8Dcz7eAA25r20wcLg9ny+X5lDnsQ+CZ6dv5cIm\n9FZu8pLLrvfgVP/R3CCWi/TTXhpnJmsWSGS0yjYi2eT5fzcBU74LI6kNwX8y\n6xv9KD9+Qyt5YMtSWjnL+nmry5ZqMbl+EUnGAzJxW3KUNycbKsktQSZlCr3r\nshhgOtPC/scV2XAkxNdClQHjtcXgv6nBp6+0FISmFih95n7I1i3dTLd9KjcQ\n0C7SafEZK+jhHJR5aIWmqgdyFaZjCdC1JEPXOPaFtoHfHdVhKkyY1x7ymedB\n+JfBgMVjQ6/dcPH9zOBOyA0KSQDkTIXZ21HLcLrZO7/Tiyg+4mrfzMY5whOj\nHLIrtIOv43j+pqqN+yTBTAo3dK5W/xS6zuGMZEVx7O/6EZhmF32QN4n/0eRO\nvBl0lpbDsct3nPVxJNChNgHvVpyJJrlBUrpYw3NzqIac637pNZ+uXq59gULP\nVMhT\r\n=WzHs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXpHrJloklE5EjW8c9lLTrah6qj7lbDlY9tTwdXmtKZAiALUskOzSI5XN72sFsBdSfCqLhJBYbWMOxcA5AC6r8Qvg=="}],"size":1856,"noattachment":false,"key":"/@putout/plugin-remove-useless-mapping-modifiers/-/@putout/plugin-remove-useless-mapping-modifiers-1.0.0.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.0_1628252206561_0.3245107385441841"},"_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":1628252206687,"_cnpm_publish_time":1628252206687,"dist-tags":{"latest":"1.0.2"}}