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

lint-readme: support doctests that are expected to throw #25

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

davidchambers
Copy link
Member

This pull request enables the use of https://github.com/davidchambers/doctest#exceptions by blanking output lines beginning with when rewriting the readme. These lines are treated specially by doctest, and are not intended to be syntactically valid JavaScript code.

@davidchambers davidchambers requested a review from Avaq March 21, 2019 16:44
Copy link
Member

@Avaq Avaq left a comment

Choose a reason for hiding this comment

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

That makes sense!

@davidchambers davidchambers merged commit 6d52c00 into master Mar 21, 2019
@davidchambers davidchambers deleted the davidchambers/lint-readme branch March 21, 2019 17:55
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.

2 participants