{"name":"@putout/plugin-remove-useless-types-from-constants","version":"1.1.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.1.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-twm1c9jCLfLj2IuFcQulLGrCvAc0L6ZHG9EQrKfsx92zpiE7jtGpygMtuf4S0agJ96/Cqcy4soS0fMDnwa6xlg==","shasum":"b88cad9018deeb534772aa5cc8b1381700ef5b1f","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-types-from-constants/download/@putout/plugin-remove-useless-types-from-constants-1.1.0.tgz","fileCount":4,"unpackedSize":5070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTzoICRA9TVsSAnZWagAAMoAP/iaGpUqtCi9GgFYd5iaN\noHOCbjFVWIWpvCmuf7BofapnvrciSIxyDMx2OGCpLMjlV+m3F71CbZcChls3\n76f8EbGAHztBt7v8fIPAU5OoDpP5/3xkgRqCDysQBEmPFwxpS2jtEqIOdBLP\nzb3+8C0PcIp5Saf2H+OZKaKebysUJioNpbSwCyBufJ1J4s+yp0jrxKOBOJWM\n5eXUUdLf2HsbJVc7ODeXGs9BqTl07Tvj2rzCV1NKqHaRUoxarHx6i5PnpxN0\nqxCo/PxlySb2ZAQfABwtm5oYcFuahbc2Bs40sKPINyYZLrkAUhSZ4UHijfMU\nprCua7D/CUA2IeHrJb4H0I/ZGRQtEmV+rCzk48JdAeGpn6RAAAphMytLtcwS\nUBvR2yxAXx586dWXgMlkib10m35JqzpL1kyO/bxCOZ7IDuamJNJcNvRS3DZ7\nA90nurAyu1RgENrSa6Wb5PgSzl2rWXIbAhapQTwdlVeiuqZz8mQbOAfIJ5cY\n7UT2nbzzfDz0Zc8D+vGWAijczmBVB+CW7XPGp6/aO9nAuCI4BH7deKAh8Rb+\nJJ3g+R4fk6ab9QQ+wiB3MvIRyffrERi9xG8WK15/SkMHWm6HOetkwlVXjb2r\nN4LSyUP7oula/f8ajMks62uLZZxUflxsp0BsHgyz/KDJPxjddkMpR465hJlr\n7z7n\r\n=sUr/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5bj0+wZr1eqWf3dCVCl3QaJ2ipGAZA1NpdtsQ19FyMQIhANKgeddVK3ChPrcnaF6De6I58uGI8tbxMlF5tz/kwlBV"}],"size":2200,"noattachment":false,"key":"/@putout/plugin-remove-useless-types-from-constants/-/@putout/plugin-remove-useless-types-from-constants-1.1.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.1.0_1615804935623_0.5825211034574465"},"_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":1615804935753,"_cnpm_publish_time":1615804935753,"dist-tags":{"latest":"1.2.1"}}