-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add URL to rule documentation to the metadata #59
base: master
Are you sure you want to change the base?
Conversation
Looks like the build failure is unrelated to this PR. |
I've recently merged #62 which fixed the travis tests. Please could you rebase this PR to re-run the travis tests. |
2e6ae46
to
6de74dc
Compare
@graingert Rebased, and the specs pass now 😉. |
@Arcanemagus make it match |
Sorry, just saw your comment. I'll update that to match. (Funny that they copied a PR I did to another |
Great, thanks! |
ESLint v4.15.0 added an official location for rules to store a URL to their documentation in the rule metadata in eslint/eslint#9788. This adds the URL to all the existing rules so anything consuming them can know where their documentation is without having to resort to external packages to guess.
6de74dc
to
d3354eb
Compare
Updated, the function will return a URL that uses the tagged documentation for the exact version the user has installed. If there are any other changes let me know 😉. |
Great, thanks! I probably won't be able to get back to this until Monday |
ESLint v4.15.0 added an official location for rules to store a URL to their documentation in the rule metadata in eslint/eslint#9788. This adds the URL to all the existing rules so anything consuming them can
know where their documentation is without having to resort to external packages to guess.