{"name":"eslint-rule-docs","version":"1.1.219","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-docs.git"},"keywords":["eslint","eslint-plugin","docs","documenation","rules","rule"],"author":{"name":"Stefan Buck"},"license":"MIT","bugs":{"url":"https://github.com/stefanbuck/eslint-rule-docs/issues"},"homepage":"https://github.com/stefanbuck/eslint-rule-docs#readme","devDependencies":{"async":"^3.1.0","find-reachable-urls":"^1.1.1","got":"^9.6.0","mocha":"^6.2.1","sort-keys":"^4.0.0"},"gitHead":"970f98528c9b21d76671c53cef6dda6c4b2a8d23","_id":"eslint-rule-docs@1.1.219","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-MeihPfW6NSZkm9ia0OpqoZm0r8gU6xJoa+G1PqUCGGZMcJQpFeNTy1ItuNIrtZFsR6n0mVqYR4j55Rd3HxIb+Q==","shasum":"56be57cf4857b1749e78dab0175a617d0320ce02","tarball":"http://registry-npm.ywwl.com/eslint-rule-docs/download/eslint-rule-docs-1.1.219.tgz","fileCount":7,"unpackedSize":117613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgA4chCRA9TVsSAnZWagAAUBMQAIfXYCkZvN1Wjl/phnX3\nhVtbkTbfmLe4CZOwllz0BLI7vJNQknSyPceI0XJ6BSnedYfnqXV6tQdFe631\n+y0rLkOsgu4D21wDczo1FyX2ZiNzcM16qhHp1NKS1YL9SUHPvel8InWWALpW\naT19v6brF3PnL/VBN4TsIeEYdR6fRXbbDOQpPf+hTMKH2gKT0ifQBdJQsaQj\n6Se42VL6WqjtbUH/x+MDkBZKmJcxh7yvfqe333HcrXsQQy9sbUutcvZy1pkF\nTFCEYjKMkYslQesmOAuFxH/BWqEYyej/z3fF/w4OlJH21UjgZ7r0KQAALq/j\nvwJx/j9EsIQYqDo1l/zXUdcRGxDB0nVEZYkpIYI3yI44zY2xHDZaG72lXoA3\nBimaRTkKIE+3LpXz7YFJui7t7AsFzPaSrQW3mIqthdgxSZ8ZasfjBgdlMYZ6\nKHQRmDsy8fJ1M9a2SrK2iA7Jhfa7+LK/Bt6+KZfmyHuqidaEj9/TF+FHdkgM\niXPZFcnuxhkY4zQWJL0FAdmDq6VpwASpzZv5jwVlRGaBnvgjrZJmlxb+jh8F\nWs8urUI/WQ/Mr01pvUarX0bNeK2g8yHxQvcJV5kIApNkqbDIoXYJTvYH0I5h\nLbEe4FZLf4G03Eq7k6p1Y7hsRAJJyjcrY4Tt/qKDgQ6wAJxasBt0x50O2API\n0T9q\r\n=2HZf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPSvU3ANftLjJ0g/rwGlzFQsy3BjqY7pE6TSF/YZJohwIgO1ow1FR7SAWGfQUtleLDdk5EIms7YWOAufa+wTAi56g="}],"size":21216,"noattachment":false,"key":"/eslint-rule-docs/-/eslint-rule-docs-1.1.219.tgz"},"_npmUser":{"name":"stefanbuck","email":"github@stefanbuck.com"},"directories":{},"maintainers":[{"name":"stefanbuck","email":"github@stefanbuck.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-rule-docs_1.1.219_1610843936882_0.22944864262792097"},"_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":1610843937030,"_cnpm_publish_time":1610843937030,"dist-tags":{"latest":"1.1.235"}}