Linting for mdx?
See original GitHub issueMDX is definitely awesome 😄
For a React design system project, I’m currently using a split of .md
and .js
files for functionality across many components that MDX would clearly simplify. My biggest hesitation to convert them, however, is is that it’s really useful to have default eslint
linting of the normal js
/ jsx
files, both within my team’s local editors and within CI.
So my question is what is the status of linting mdx files?
There seems to be some work going on within remark here, but it seems pretty far from fulfilling any aspect of linting mdx
files in general.
On a related note, how are other people who’re using mdx solving this issue?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:11 (7 by maintainers)
Top Results From Across the Web
mdx-js/eslint-mdx: ESLint Parser/Plugin for MDX - GitHub
ESLint Parser/Plugin for MDX, helps you lint all ES syntaxes. Linting code blocks can be enabled with mdx/code-blocks setting too!
Read more >eslint-mdx - npm
ESLint Parser for MDX. Latest version: 2.0.5, last published: 3 months ago. Start using eslint-mdx in your project by running `npm i ...
Read more >How to get mdx file support (linting) in VS Code?
I have a vue.js project with the storybook addon. I am trying to write a story using the Docs addon which allows you...
Read more >How to create a custom lint rule for Markdown and MDX using ...
In this article, we'll go through how to setup your own custom lint rule for a JavaScript project using Markdown and MDX, starting...
Read more >Fixing MDX linting errors in Next.js using eslint-plugin-mdx
Recently I was getting mdx Eslint linting errors in my mdx files where I write my posts. And a red squiggly line appears...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just started working on
eslint-plugin-mdx
which lets you lint the JSX and imports from MDX files with ESLint.My bad, I see that you did! ⭐️