{"name":"@putout/plugin-remove-unreferenced-variables","version":"2.0.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","unreferenced","variables"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-remove-unreferenced-variables@2.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-unreferenced-variables#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"f49a47fab2b975c2ec2b81745dc45e2c762c4ec5","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unreferenced-variables/download/@putout/plugin-remove-unreferenced-variables-2.0.0.tgz","fileCount":4,"integrity":"sha512-OfJoNUYdZvVXyrRWZzTCvyvvxUdjsicINM5qslxmgplG7bSTf5Zza65qiJ5oFmZrNviNAp3/fiDYEnIKfRtmNw==","signatures":[{"sig":"MEUCIQChpbg3WZOjoqdzDozKhqr0trTreSVAUyy5x5LKGofGBAIgH/w2aNbP8lc9iyUT6wgC2+86vnc6RbuxnbzspRlDSNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiR3O9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmowbg/9GYsgQqrEqozJI0dJeh7JMv2QukyaB3qtV0zb4hL3rc/HD9cu\r\nl7CZfZJmcLcxfQg9Il6KqUWi5UTWbVZf1uJMt7GGCiGex1f6Alr+GEc9q++T\r\na3gaUPE9afY/moInevY8CpZaajcvgra31S29EUdKpny2tqCc0m9ja5XWqJbr\r\nR8my6Yzmynrxagx7D7IDX14jjHpRiz4ExP1PkhIM2E7j945HlNquVvXffW58\r\nv5mk93SUSJIiPW9vocuCb/LM/Ppn1KZJ45QxaTFOMYAvux0PPHIh+9AsAmit\r\n7bvF6rUcDvN2F6itx9goIGi6046vRAV26gIj9OijTw6cUn5U6FbanUbkhSml\r\ngDbiYpyJDdaTmhJdmJbvquGCSWVDJhI3HveJ6zIo9KO/x0HDYZb3onWQqNNq\r\nf3ffnkuFy7CuxgNz1ItNoGFRXEC8Fq53TqunuBpm6WnpfTdmFWG7/JojFsqx\r\nXUfobe3x8AzXaUT1OcMQIZEYaJypGZLNur6cX1Mf7HgmsjbSybQY9lD+9QGZ\r\n3Ck4CJrPqMblRvWKZawOgKqCe4gNtdYB34HpYfa1ui2OT9HA+vcB4RQiul7l\r\nk0tfzQNBeNPdsVBABVFpsD7c3wSo7Kqpchtg0L2ck9xw92btQm0tZvciPbgq\r\nsKZM8Ksdsmv7cjeqxvALAv9uNM+VLJKHdbE=\r\n=4uT0\r\n-----END PGP SIGNATURE-----\r\n","size":2148,"noattachment":false,"key":"/@putout/plugin-remove-unreferenced-variables/-/@putout/plugin-remove-unreferenced-variables-2.0.0.tgz"},"main":"lib/remove-unreferenced-variables.js","type":"commonjs","engines":{"node":">=16"},"gitHead":"4bdc477efb744bb6254ced3caa7e7016b2d190a4","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"8.3.0","description":"putout plugin adds ability to find and remove unreferenced variables","directories":{},"_nodeVersion":"16.14.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","eslint":"^8.0.1","madrun":"^9.0.0","@putout/test":"^5.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0"},"peerDependencies":{"putout":">=25"},"_npmOperationalInternal":{"tmp":"tmp/plugin-remove-unreferenced-variables_2.0.0_1648849853683_0.01011149486342","host":"s3://npm-registry-packages"},"readme":"# @putout/plugin-remove-unreferenced-variables [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-unreferenced-variables.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-unreferenced-variables \"npm\"\n\n> A **variable** is a named reference to a **value**.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Glossary/Variable)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove **variables** without **references**.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-unreferenced-variables -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-unreferenced-variables\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nlet a;\nlet b;\n\na = 5;\nb = 6;\n\nconsole.log(a);\n```\n\n## ✅ Example of correct code\n\n```js\nlet a;\n\na = 5;\n\nconsole.log(a);\n```\n\n## License\n\nMIT\n","publish_time":1648849853910,"_cnpm_publish_time":1648849853910,"dist-tags":{"latest":"6.0.1"}}