-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
eslint-plugin-mdx
won't work along with eslint-plugin-markdown
#259
Comments
They're definitely not same. Maybe you need two eslint config to lint |
Sure they target different things, that's why I expect My point is And I believe using Anyway, I'll see if I can find what's going on under the hood. |
I'm closing this as it's expected as per eslint/markdown#134, i.e., we can't lint those code inside code blocks in @JounQin One last question, any plan to support linting code inside code blocks now that we can't use it together with |
The mdx core team is working on v2 and will pasring mdx as estree directly, so such changes are not going to happen soon, but you're free to share ideas about the possible implementation. |
I just get an idea that we can already get code blocks by ourselves, so it should be possible to lint them by What means we will never be compatible with It should not be difficult, I'll get started soon when I'm free. see #278 |
reopen in favor of eslint/markdown#178 and #283 |
Subject of the issue
I have
eslint-plugin-markdown
enabled in this project withprocessor
option enabled:Now when I enable
eslint-plugin-mdx
:eslint
won't report any errors.Only when I remove
processor
will `eslint report the lint problems:Your environment
Steps to reproduce
https://github.com/webpack/webpack.js.org/pull/4326
yarn
yarn lint:js
Expected behaviour
eslint-plugin-mdx
should work fine along witheslint-plugin-markdown
.Actual behaviour
The text was updated successfully, but these errors were encountered: