{"name":"@putout/plugin-remove-useless-mapping-modifiers","version":"1.0.2","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to remove useless mapping modifiers","homepage":"https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-useless-mapping-modifiers","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":"^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":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"552ae3a3c5c8656b89aa23aed69532f0d52f35e1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-mapping-modifiers@1.0.2","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-SKocat1c/gwkN6mRnx3bDRV1IfJlqIAf2aVu2gvhswLqpKa/JXLnrBR3b4wU/u0f2UA4GrJKdoyxBq83p2VlVw==","shasum":"acaa7382f71da69077492f5f10d58b7630186a6b","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-mapping-modifiers/download/@putout/plugin-remove-useless-mapping-modifiers-1.0.2.tgz","fileCount":4,"unpackedSize":4086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4CSHCRA9TVsSAnZWagAAnrgQAIcfGKMvwgKxKN2LCoJ7\nelPYaaxNQrWldx+31bdkr8Cv7TE/EUdGPKZ6DgN9CU/p3DOS/lJcsUzZTLIj\nf3NdgBImfaAXlPw+X4fKjrnm5EyxbpPcokYZ8gMDa0K53ESPGnouYeGVyWS1\niTMq+4QibpsAosPD1t3/jr0A9kD8Sp4YCu3T+vE+vg5G1i4x8wKLKd+5TB8Z\nPzUH02cJqIIvzgvzpWe5IClkTeyXfgM/7XiGrs2bDB9m3q4Ndw6JlUdYtHuB\nOg6gh6BY8AypUkB9I5LH/PiWRWeuwXDVODgJYkOyF7vdzm/yoL7yu3OjMVZJ\nPW4Ap5jBsGAqJok/0uE7qY0c/g3Bsp20dVnPY2udUelAU7t2gKDfotOlR8C8\nCWQPeQLF9eyVRy7y81ieqSBpyNOozAAMe831PVPexC5YhuWQmsxzA6uAvWuv\nD1c+27aUOqRXlatEKJXA+SPH7CVJBg33WOu6jsUZ+jYA/AioOsrWAHe+dBxe\nUSf8D9apYPEggG9uUKe1IJn6oaBTFI1G2NETvyz+HxRniiKDBw37w+9KOvdH\na0YVBpU09DjQDIc6avQ7cGZUUOmXDFyqbHrsmJs2Ya1QLgMHhl4Dcfw6frBH\nobD9y+6JG/zF8Lo2imHE2XU1xk4blNmp3mg+YhusWMoj0kdiwOJ5BCqbpsXp\nVQ6V\r\n=J3DW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9lRDJzBdWR1HC3vv27cRi3XgKHMK932z1py1KirCvUgIgbxBGXNgkzzS+hkrwYYMdfL2ZBrZVjoItiYQKw5pCZmc="}],"size":1888,"noattachment":false,"key":"/@putout/plugin-remove-useless-mapping-modifiers/-/@putout/plugin-remove-useless-mapping-modifiers-1.0.2.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.2_1642079367784_0.697673403428041"},"_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":1642079367919,"_cnpm_publish_time":1642079367919,"dist-tags":{"latest":"1.0.2"}}