Skip to content
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

docs: Use link to tagged version for rule docs #79

Merged
merged 2 commits into from
Feb 15, 2018

Conversation

sudo-suhas
Copy link
Contributor

This adds a utility function and uses the version present in package.json for generating the URL to tagged version of the rule documentation. I think this is good because the documentation will match the version the user has installed. This way, even if a rule is changed or removed in the future, the user can find the documentation with ease.

Note: The rule eslint-plugin/require-meta-docs-url cannot be used with a function which would return the URL(see not-an-aardvark/eslint-plugin-eslint-plugin#58) so I have disabled it.

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@SimenB SimenB merged commit e0160e5 into jest-community:master Feb 15, 2018
@SimenB
Copy link
Member

SimenB commented Feb 15, 2018

/cc @macklinu

@sudo-suhas sudo-suhas deleted the docs/link-tagged-url branch February 15, 2018 08:38
@SimenB
Copy link
Member

SimenB commented Feb 15, 2018

@sudo-suhas I added some comments to the merge commit instead of in this PR... Mind taking a look?

e0160e5

@macklinu
Copy link
Collaborator

This is a good idea, nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants