-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[2.5.0] Markdown parsing failed #1123
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
Comments
I don't understand - how are you using our parser to parse markdown? |
Here is the config file: https://github.com/ant-design/ant-design/blob/25788e69a8e8cad8cf9c239493293cf24e1b2176/.eslintrc.js#L23 with markdown plugin |
It will probably work if you set this in your .eslintrc.js parserOptions: {
ecmaFeatures: {
jsx: true,
},
} |
+1, my eslint-mdx breaks due to this, and I've wasted a whole afternoon to figure out this is a BREAKING CHANGE from |
Again, as per #1124 - it is a bug, unintentionally introduced. I understand you're frustrated, but please understand that ESLint is a very complex, and extensive environment. ESLint itself calls into our parser in a certain format. TBH, I didn't even know that this particular use case existed before today. |
@bradzacher Sorry for my impatient, I was just too upset at that time. I personally wrote an eslint parser/plugin for |
What code were you trying to parse?
Markdown text:
What did you expect to happen?
Works eslint normal as
2.4.0
What actually happened?
Versions
@typescript-eslint/parser
2.5.0
TypeScript
3.6.4
ESLint
6.5.1
node
10.16.3
npm
6.9.0
The text was updated successfully, but these errors were encountered: