Skip to content

Do I need eslint-plugin-markdown if I am using eslint-plugin-mdx? #2275

Answered by ChristianMurphy
PaulRBerg asked this question in Q&A
Discussion options

You must be logged in to vote

Heya @PaulRBerg! 👋

eslint-plugin-mdx and eslint-plugin-markdown are not built on each other and serve different goals.

eslint-plugin-mdx checks the JSX and Markdown content of a document directly.
eslint-plugin-markdown checks JavaScript inside of code fences, and does not check the surrounding markdown.

Depending on your needs you could use one or both in a project.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants