{"name":"eslint-rule-docs","version":"1.1.147","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":"58b33187d317c696655bbe205249559c18c458ab","_id":"eslint-rule-docs@1.1.147","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-sMIxGwn0DYeWuSRLOkQDCpQQdA4p76JIgRuLNuZVviPcDTxYXgIvd9IU5rfx3gwYZFsn5s7+7IQX3acyQRoFNg==","shasum":"c57cf1422297a7a3a573bae75309dfe7421923cd","tarball":"http://registry-npm.ywwl.com/eslint-rule-docs/download/eslint-rule-docs-1.1.147.tgz","fileCount":6,"unpackedSize":100982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLIMjCRA9TVsSAnZWagAAqUAP/RFZVNWKcVhPesA7pCFh\n/y5megS80R+qf4VsDKJHjtg+5K4LVd8U6Acfx9g1XP1O56ToTzaTXiKcXSnk\n3yp33Ilef8D16ALGhVzp8dgZoJCQqdj8t+xlVeAFrKokCP2MVZUL2ltU2/GQ\ncfnZWSiBxqBIH1WrQ7Qp+xJv7a2UHROwWzXVPYShVJUNCj3Na1vdqYwMxbjq\nQQW+2uJeF3GCJWqpTBHlq1AKZcORttaRU7gRaIaQgdR7cIyDTuV2RqgRQrL/\nJ43ijI/psSE/zGr4FUCO5fpqiiKLKdzqSVkC8Ghtx8J/KyO0m1IoE3/RiGW/\nRbc9hlIn//6IDCQxKd+R40ts7m5qNk6Fw+i2TvDUqMy76vKS9EU8DeKY6J1Y\nU6WY5xPXSUH47pCW/PkKIvOu19qOIv7i06eE4YcDf9IEMeIDhwWWhWqoTrQl\n38HPGdGauzRlHUR7DDInN6gXRZHnxlciRUaT1ECCnRxySFWwmNQ5KWCKHP8U\nZy0k9fn1OtQp4C9K0vTovnyP3sGAQfbiSwmnFnzYW9tyyo9oU2OH3tBGLAMg\n4js984TbwtE+bAq8RPvAwQoIT0SHxaclpizcIwMyjUWQQvG/jPU4X/8cKuW7\nVtGmcMFZ6xrdJNI0RFrgbsrwpxp5ma4ErKQrVnCrtk25Cm0WynmrYnOwLk4j\nQFbW\r\n=zsQ+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNVhKu54IN+HqpPtt8KoAprJC/VScLVCPsCtLNDQbsmQIgbEjcyhHXGEJc9sp3bicjJQblKcWJ8W1IxRtfNJE+RT4="}],"size":16475,"noattachment":false,"key":"/eslint-rule-docs/-/eslint-rule-docs-1.1.147.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.147_1563198242785_0.8344835326916922"},"_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":1563198242911,"_cnpm_publish_time":1563198242911,"dist-tags":{"latest":"1.1.235"}}