{"name":"@putout/plugin-remove-unused-for-of-variables","version":"3.0.2","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","unused","for-of-variables"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-remove-unused-for-of-variables@3.0.2","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-remove-unused-for-of-variables#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"d279d2938c96c8aa6c50c5e4e92cf3f5eddaff3c","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unused-for-of-variables/download/@putout/plugin-remove-unused-for-of-variables-3.0.2.tgz","fileCount":4,"integrity":"sha512-U5fG+5V50ENhYCstXBvjfzizyZyPBx10HNWJgQZTrWb9NL9WqYFHhKAnWIp5JvQ3GkBEp5KW/VrG5gyJ5OYOyw==","signatures":[{"sig":"MEYCIQCfuog2OG1j6ASFEGrTJksqiTVppopWvdScVc6u2c2tTgIhAJE20o8lGtsI5m98HJdTk8IvqUjx/nIQ8M0UiOGe85r/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6479,"size":2529,"noattachment":false,"key":"/@putout/plugin-remove-unused-for-of-variables/-/@putout/plugin-remove-unused-for-of-variables-3.0.2.tgz"},"main":"lib/remove-unused-for-of-variables.js","type":"commonjs","engines":{"node":">=16"},"gitHead":"2f6133764c3b7cb020b72a63166efece1f584727","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":"11.4.2","description":"🐊Putout plugin adds ability to find and remove unused for-of variables","directories":{},"_nodeVersion":"25.2.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","lerna":"^6.0.1","eslint":"^8.0.1","madrun":"^9.0.0","nodemon":"^2.0.1","@putout/test":"^6.0.0","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","@putout/plugin-remove-empty":"*","@putout/plugin-remove-useless-variables":"*"},"peerDependencies":{"putout":">=25"},"_npmOperationalInternal":{"tmp":"tmp/plugin-remove-unused-for-of-variables_3.0.2_1764599459084_0.25710288570487294","host":"s3://npm-registry-packages-npm-production"},"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":1764599459354,"_cnpm_publish_time":1764599459354,"dist-tags":{"latest":"3.0.3"}}