Open andrewplummer opened 1 year ago
switch the order of your extends array, so mdx comes last.
That didn't seem to have any effect. The resulting error is the same regardless of the order.
hmm, i'm not really sure then :-/ we don't have any tests for mdx, and i have no experience with it.
If you could provide a repro repo, then hopefully someone will be able to pick it up.
Sure, here's a very simple repro: https://github.com/andrewplummer/repro-mdx-imports
I'm also affected by this issue.
With the latest
eslint-plugin-mdx
andeslint-plugin-import
, the following eslint config:And a single mdx file:
The parser throws an error:
It seems to be trying to send JS files included from MDX through the eslint-mdx parser. I've tried various configurations (extensions, overrides, etc) but it doesn't seem to work.
Thanks!