{"_id":"eslint-plugin-no-for-of-loops","_rev":"4-c99122c17d58ae30cd4c03eb87eae9bd","name":"eslint-plugin-no-for-of-loops","description":"Prevents for..of loops usage","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"eslint-plugin-no-for-of-loops","description":"Prevents for..of loops usage","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node tests/index.js","preversion":"npm test","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/dharFr/eslint-plugin-no-for-of-loops.git"},"author":{"name":"Olivier Audard","email":"audard@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dharFr/eslint-plugin-no-for-of-loops/issues"},"homepage":"https://github.com/dharFr/eslint-plugin-no-for-of-loops#readme","devDependencies":{"babel-eslint":"^7.2.3","eslint":"^3.19.0"},"peerDependencies":{"eslint":">=2.0.0"},"version":"1.0.0","dependencies":{},"keywords":["eslint","eslint-plugin","eslintplugin","for","of","loops"],"gitHead":"fe2cb92984df068d33f9c675f04d91f3ee954713","_id":"eslint-plugin-no-for-of-loops@1.0.0","_shasum":"a13d91a8f1922f7fefedeab351dc0055994601f6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"dhar","email":"audard@gmail.com"},"dist":{"shasum":"a13d91a8f1922f7fefedeab351dc0055994601f6","tarball":"https://registry.npmjs.org/eslint-plugin-no-for-of-loops/-/eslint-plugin-no-for-of-loops-1.0.0.tgz","integrity":"sha512-ZBI3PuOHArpLpxaMrtEeS9FihqZQ1yxJrj9hgEC4Iagjgau0qiZHhONp5ytFppQzUD9LtokIzm7onl3aRQwwaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAJEOpL6zTAOwUjjTK2dWLL1KQyoS0GZatXDy46dIr4AIhAO0k19LnwchzkDuYUxegQywRgKFyC4hufbXZNRFGX1pd"}]},"maintainers":[{"name":"dhar","email":"audard@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslint-plugin-no-for-of-loops-1.0.0.tgz_1493900562559_0.16617703973315656"}},"1.0.1":{"name":"eslint-plugin-no-for-of-loops","description":"Prevents for..of loops usage","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node tests/index.js","preversion":"npm test","prepublishOnly":"npm test"},"repository":{"type":"git","url":"git+https://github.com/dharFr/eslint-plugin-no-for-of-loops.git"},"author":{"name":"Olivier Audard","email":"audard@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dharFr/eslint-plugin-no-for-of-loops/issues"},"homepage":"https://github.com/dharFr/eslint-plugin-no-for-of-loops#readme","devDependencies":{"babel-eslint":"^10.0.2","eslint":"^6.1.0"},"peerDependencies":{"eslint":">=2.0.0"},"version":"1.0.1","dependencies":{},"keywords":["eslint","eslint-plugin","eslintplugin","for","of","loops"],"gitHead":"76be76229f8e02aefc4ac418c217e58d606d5c9f","_id":"eslint-plugin-no-for-of-loops@1.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-uCotzBHt2W+HbLw2srRmqDJHOPbJGzeVLstKh8YyxS3ppduq2P50qdpJfHKoD+UGbnqA/zhy8NRgPH6p0y8bnA==","shasum":"2ee3732d50c642b8d1bfacedbfe3b28f86222369","tarball":"https://registry.npmjs.org/eslint-plugin-no-for-of-loops/-/eslint-plugin-no-for-of-loops-1.0.1.tgz","fileCount":7,"unpackedSize":5029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOtkGCRA9TVsSAnZWagAALoEQAIkoYVF+w2tyB0FRFEhq\ncwo9t2CS0Q0G1DmL3mIa5HN14+r/kbMBWt+UmnTMhRRAuiCJQjtWbLSEDX51\npljBJNPgGzSUY2Ur50zNtX+utGoRsiTS55VOWaAwBX6AU52vb+qlNsIv1dfM\n2K8uxYmTPaTywNG2gM6a7KZ/iOK/D44hyPTjfsVFwfrVG2dYQaclitOXopuV\naEM8C8bh3KYb+8fagqPW133Efj+MjnY8dU5FmbuhSLFKYlh55LpvRpOppDwx\npNACIhB/Vj4xv3l1DwWfFANWMGS3Odrd+0bhsMYqP2O7n9F+j4LE3zj6TbW0\nk1rhLejWkFpqM9xiApsqkQUU/xXM0ZLFozurtcqRbtdq5x7aEb4cN7NE0HvO\nG/EuruxoS7H1Qn7DXkLTKT199sfDPYwztf58FRnZ+3P/aUdJ+M7/0gMgo+9c\n8Vb5rDmmcvGjmFBixosSmhoG5UKlRBO3G6erzrx8bCigsm38ONz1DDkEwvRz\n/xv1SODpBN0PLaRI8uWtDXQzcUy8Vgd+DptjcdHpgFePPLw/wxDRMqa38lle\nsN3nZdcmN9UiCXtDnoq7KmPBme81TqwUMFi0n3G8cDxrS6ACsLpezC4SKDop\niL5Ew/rZCZsN6rTTTqCiOqFITdZRmOzSd91g+Atwb2E1NFYe5PpMxHsJ9Lcg\nwZkl\r\n=Q5LU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGBNwXbZwp8oxrYsZ0/b4uFp89JTXcHFk/FM3+azomwAIgLEDsx3ZfgBfcLZGBOy+9tUn8tzBhwrsjwtz0owYxnik="}]},"maintainers":[{"name":"dhar","email":"audard@gmail.com"}],"_npmUser":{"name":"dhar","email":"olivier@audard.net"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-no-for-of-loops_1.0.1_1564137733587_0.10441152937971987"},"_hasShrinkwrap":false}},"readme":"# eslint-plugin-no-for-of-loops\n\nAn [eslint](http://eslint.org/) plugin to prevent `for (...of)` loops usage in your code base.\n\n[![Build Status](https://travis-ci.org/dharFr/eslint-plugin-no-for-of-loops.svg?branch=master)](https://travis-ci.org/dharFr/eslint-plugin-no-for-of-loops)\n[![npm](https://img.shields.io/npm/v/eslint-plugin-no-for-of-loops.svg)](https://www.npmjs.com/package/eslint-plugin-no-for-of-loops)\n[![Greenkeeper badge](https://badges.greenkeeper.io/dharFr/eslint-plugin-no-for-of-loops.svg)](https://greenkeeper.io/)\n\n\n## Installation\n``` sh\nnpm install --save-dev eslint-plugin-no-for-of-loops\n```\n\n## Usage\nIn your `.eslintrc`:\n\n``` javascript\n{\n  \"plugins\": [\n    \"no-for-of-loops\"\n  ],\n  \"rules\": {\n    \"no-for-of-loops/no-for-of-loops\": 2\n  }\n}\n```\n\n## Rule\nDisallow use of `for (..of)` loops.\n\n## Why\nUsing  `for (...of)` loops requires `Symbol` and iterator polyfills to work on older browsers (see [babel/babel#1534](https://github.com/babel/babel/issues/1534)).\nDepending on your browsers target (for example, Android 4.4 in-app Webview is capped to Chrome 33), you might not want to include those polyfills to save a few kilobytes.\n\nSee [for..of](http://kangax.github.io/compat-table/es6/#test-for..of_loops) and [Symbol](http://kangax.github.io/compat-table/es6/#test-Symbol) compatibily tables for more details.\n\n## Disabling the rule\nWant to disable the rule anyway? Your call :\n\n```javascript\n// eslint-disable-next-line no-for-of-loops/no-for-of-loops\nfor (let i of iterable) {\n  // ...\n}\n```\n\n## Credits\n\nThis project was initialy forked form [eslint-plugin-no-loops](https://github.com/buildo/eslint-plugin-no-loops). Kudos!\n","maintainers":[{"name":"dhar","email":"audard@gmail.com"}],"time":{"modified":"2022-06-17T20:36:45.004Z","created":"2017-05-04T12:22:44.461Z","1.0.0":"2017-05-04T12:22:44.461Z","1.0.1":"2019-07-26T10:42:13.729Z"},"homepage":"https://github.com/dharFr/eslint-plugin-no-for-of-loops#readme","keywords":["eslint","eslint-plugin","eslintplugin","for","of","loops"],"repository":{"type":"git","url":"git+https://github.com/dharFr/eslint-plugin-no-for-of-loops.git"},"author":{"name":"Olivier Audard","email":"audard@gmail.com"},"bugs":{"url":"https://github.com/dharFr/eslint-plugin-no-for-of-loops/issues"},"license":"MIT","readmeFilename":"README.md"}