{"name":"@putout/plugin-remove-useless-types-from-constants","version":"1.2.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to convert any to primitive type","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-useless-types-from-constants.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":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=8"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-types-from-constants@1.2.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-1oL5XQEEO329EJGP32X8DhITZr4ITADvgaS0SuwyCfUb0u+WGTW0GlQ+jiVUr5gEpKQkQTCe2HJ4iCCoTM8yMg==","shasum":"4a92729adb69c3f866535d885bffe1fd85200aa7","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types-from-constants/download/@putout/plugin-remove-useless-types-from-constants-1.2.0.tgz","fileCount":4,"unpackedSize":5311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYHMOCRA9TVsSAnZWagAA+5cP/03q6VZ7ROJ9lORsDHov\nMI4iTQIVWY1KBZUhHjyrDvIw3YpdowLAU0RBko/5CzxsHJZ92cZ8VRXOYmAC\nLcVuF5sHXmfFEPQ7cdgpmFpab2FAmUn0wP8VTTW+62AuIR3Q3fd63A+PN2CE\ncRV2c/o2KpLzjoS2CBXQgXpuC6++sEHrsypQoQMd1uBj0Mova6AmaSG3t6aA\nfiW2jFCW+BKlCIpVWx9ndAkLTWDAOmAItt6G33dBNAlOx2PyxDE0zn70CM9p\nF5rVq4OBHJsQAnyjUlQRyBI40AjiVXzzXSQYkXr3Pu231MpRruGBqskUiCOs\nKO+gIVKmoDcH8XowdzBHmoOwVm448TbDWzgFWZbX1NGq8eCR0efoMw6uE6qJ\n627Gc+6HFkZswsf8vhU2mnXayGx1e9eOqPQ8qmpJ01TfUgmp6uLzSt5/CtQl\nqjwVRXGsWASuEw3hdylgFNKXwNhwPqbeCVSGVYMbyulCnGcDr9M3EEinf90F\niLMglpdmaJyRULqLd8EO7wLfRVRL+bME7HBhkWH+O9Cj/0D70IKaQJwlqQHF\ne2cfFszIgnU2VD7cE+NEh4eLIqGbjjW3sT2NZibLdE7xB+4q5mt1uWYNO+e9\n07/hSLTayVMCkOkZQdZDmzvKSwJmttiG+GcWuMN96aTl3ogJh8i3Iotnlmrf\n20AO\r\n=m9qe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhXwUQ7e9mjpiumDk+iB+rE5AuM9w6j+sJxrBAzPUU2gIhAI8+0jgo78X2fJYXyWHPLZVyp+4wBuyzC7L/r6Qn9/Gl"}],"size":2258,"noattachment":false,"key":"/@putout/plugin-remove-useless-types-from-constants/-/@putout/plugin-remove-useless-types-from-constants-1.2.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-types-from-constants_1.2.0_1616933645955_0.4545539002530532"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-useless-types-from-constants [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-types-from-constants.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-types-from-constants \"npm\"\n\n🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to remove useless types from constants.\nMoved to [`@putout/plugin-typescript`](https://github.com/coderaiser/putout/tree/v24.0.2/packages/plugin-typescript#remove-useless-types-from-constants).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-types-from-constants -D\n```\n\n## Rule\n\nRule `remove-useless-types-from-constants` is enabled by default for `ts` and `tsx` files, to disable add to `.putout.json`:\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-types-from-constants\": \"off\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\nconst x: any = 5;\n```\n\n## ✅ Correct code Example\n\n```ts\nconst x = 5;\n```\n\n## License\n\nMIT\n","publish_time":1616933646072,"_cnpm_publish_time":1616933646072,"dist-tags":{"latest":"1.2.1"}}