{"name":"@putout/plugin-remove-unused-for-of-variables","version":"3.0.3","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove unused for-of variables","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-remove-unused-for-of-variables#readme","main":"lib/remove-unused-for-of-variables.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-remove","plugin","remove","unused","for-of-variables"],"devDependencies":{"@putout/plugin-remove-empty":"*","@putout/plugin-remove-useless-variables":"*","@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-remove-unused-for-of-variables@3.0.3","gitHead":"2f6133764c3b7cb020b72a63166efece1f584727","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-0MRNhlhEv+rewS+t4YJbjNvCQJeYc1wc4NEkgsLV2GwpfuaNs3K71xF4luU0TRVN3NAsHaU/fmB+JBVG4KMWSA==","shasum":"d3945815230f42cff0c840e5705bfc343a6ea662","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unused-for-of-variables/download/@putout/plugin-remove-unused-for-of-variables-3.0.3.tgz","fileCount":4,"unpackedSize":6503,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDeSIVFHXRO/vNvtcy/2Skz40zPGt6GUkznppr2Ahv3cAIhAIvxg+BGqdL/CS6PFMKYVpy3l4eQYjeeH1avcUyqx7Hb"}],"size":2535,"noattachment":false,"key":"/@putout/plugin-remove-unused-for-of-variables/-/@putout/plugin-remove-unused-for-of-variables-3.0.3.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-remove-unused-for-of-variables_3.0.3_1764599495742_0.8295035944883375"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-unused-for-of-variables [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-unused-for-of-variables.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-unused-for-of-variables\"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove `unused` `for-of` `variables`. Merged with [`@putout/plugin-for-of`](https://www.npmjs.com/package/@putout/plugin-for-of#remove-unused-variables).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-unused-for-of-variables -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-unused-for-of-variables\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nfor (const {a, b} of c) {\n    console.log(a);\n}\n```\n\n## ✅ Example of correct code\n\n```js\nfor (const {a} of c) {\n    console.log(a);\n}\n```\n\n## License\n\nMIT\n","publish_time":1764599495924,"_cnpm_publish_time":1764599495924,"dist-tags":{"latest":"3.0.3"}}