-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Parsing error: Subsequent lines with self-closing JSX tags #138
Comments
Please provide a minimal runnable reproduction. |
@JounQin Here you go: https://github.com/cpboyd/bug-mdx
And you should see the same error. |
This error is thrown from https://github.com/mdx-js/eslint-mdx/blob/master/packages/eslint-mdx/src/traverse.ts#L57 |
@mdx-js/maintainers Should that be parsed as separated nodes via |
@mdx-js/releasers Would you like to publish a patch version by |
@cpboyd Would you like to check whether v1.6.6 works? |
@JounQin it works, thanks! |
Subject of the issue
Two lines with self-closing JSX tags seem to have issues:
Your environment
Steps to reproduce
Expected behaviour
The parser should be able to handle two separate self-closing JSX tags on subsequent lines.
Actual behaviour
The parser throws an error.
The text was updated successfully, but these errors were encountered: