{"name":"eslint-rule-docs","version":"1.1.154","description":"Find documentation url for a given ESLint rule","main":"index.js","scripts":{"update-plugins":"./scripts/update-plugins.js","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/stefanbuck/eslint-rule-documentation.git"},"keywords":["eslint","eslint-plugin","docs","documenation","rules","rule"],"author":{"name":"Stefan Buck"},"license":"MIT","bugs":{"url":"https://github.com/stefanbuck/eslint-rule-documentation/issues"},"homepage":"https://github.com/stefanbuck/eslint-rule-documentation#readme","devDependencies":{"async":"^2.6.1","got":"^9.2.0","mocha":"^5.2.0","sort-keys":"^2.0.0"},"gitHead":"074db740dd70d2ff741c56907123e20c70992afa","_id":"eslint-rule-docs@1.1.154","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ZoF0JjY0JdhvzP8ti2EKiuBSso3h6csOIfYXIorEdLkuC0+KfspIqtQMflOFN8ZQfW++9EwlNwh2Rpq6oZjdIw==","shasum":"cc1c9111ff97cfb33db8d8360744cd0f18ac749b","tarball":"http://registry-npm.ywwl.com/eslint-rule-docs/download/eslint-rule-docs-1.1.154.tgz","fileCount":6,"unpackedSize":101791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQZxzCRA9TVsSAnZWagAA5b8P/RBsv9708S9ABGc2adA2\nUagFNkHgpFx5Oo2HlmMpFeBFvNFoxQpr5P0JoOUR7ZOOflZp4H/8IwOLu/dP\nkcIyZPaX37SghAZTFxWiuq2qfz5GjmZZHWhGuTsmE0qHkOWv9TbI+uwqOsqX\nO9WY4ie8HGI/BMFRZe26ejl9z/45tjNgi83DeNZLQTQA6/GlvR+xYqg/LVKV\n3r8OSovgc9/44xVJUa/7yTXDJpqYrGIutCKoIaw3dt1TlpZVAnyqhGhPO8Bp\neyAOHXaKiHq20PKQtLjM3yAxu+OGJDDUu0z4r5MWIuMEJAP+k8ZFmaOuqbzI\n+p5CbkluGGpdTVe5Ah0LTPBrMh6NerfAZk9EFrlKDGjSqYsv6jHQdNXopoZM\n7UNvB5IA7x/YHPgis9GWSdiFUWVKghQYc4ZNNMT3lO0UJKZV0tbdhWc1GInG\n2Mb3BIIFx8vuuq6RNJUZRzFr/At8c4swEbPtt1eFPqYe0w2fOM8wOJYaGml6\nOQEVBcS1nJsGYqeLkSR7tQ+BO9BT4mTqnKXvKaGzOCJd67JMLQXiYQiM92Cq\n3xchxBgugL0H5W445u4jfLBemwJ80ToEqHnl4s1tEqND1aaUeJjkpyDRf61f\noaBzjYFEAAsX7j4/2E30qtmyD4grhLEZF0q21spjP7FuM79X1I/bKDCt8LVa\nhS08\r\n=4grr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzhEjOdP9wqjSJLQMh4eRohRfFGpw+9lwyHs5Cay7rLwIhAI8PXDWnM8vNZ9e000nhOo8MB5Ku1+vo4+w9uhcSJbvC"}],"size":16594,"noattachment":false,"key":"/eslint-rule-docs/-/eslint-rule-docs-1.1.154.tgz"},"maintainers":[{"name":"stefanbuck","email":"github@stefanbuck.com"}],"_npmUser":{"name":"stefanbuck","email":"github@stefanbuck.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-rule-docs_1.1.154_1564580979086_0.36931434301537314"},"_hasShrinkwrap":false,"readme":"# eslint-rule-docs \n[![Actions Status](https://github.com/stefanbuck/eslint-rule-docs/workflows/Cron/badge.svg)](https://github.com/stefanbuck/eslint-rule-docs/actions) [![NPM](https://badgen.net/npm/v/eslint-rule-docs)](https://npmjs.com/package/eslint-rule-docs) \n\n> Find documentation url for a given ESLint rule. Updated daily!\n\n## Install\n\n```bash\n$ npm install eslint-rule-docs\n```\n\n## Usage\n\n```js\nconst getRuleUrl = require('eslint-rule-docs');\n\n// Find url for core rules\ngetRuleUrl('no-undef');\n// => { exactMatch: true, url: 'https://eslint.org/docs/rules/no-undef' }\n\n// Find url for known plugins\ngetRuleUrl('react/sort-prop-types');\n// => { exactMatch: true, url: 'https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md' }\n\n// If the plugin has no documentation, return repository url \ngetRuleUrl('flowtype/semi');\n// => { exactMatch: false, url: 'https://github.com/gajus/eslint-plugin-flowtype' }\n\n// If the plugin is unknown, returns an empty object\ngetRuleUrl('unknown-foo/bar');\n// => {}\n```\n\n## License\n\nCopyright (c) 2018–present [Stefan Buck](https://stefanbuck.com/). Licensed under the MIT license.\n","publish_time":1564580979302,"_cnpm_publish_time":1564580979302,"dist-tags":{"latest":"1.1.235"}}