Closed NickyMeuleman closed 4 years ago
@NickyMeuleman You can add an empty line as workaround for now, I'll take a look ASAP.
@NickyMeuleman Sorry for the delay, it should be fixed after #196 been merged and released.
@NickyMeuleman Can you try v1.6.9?
Can confirm I no longer get the error. This is a screenshot I just took in the same file
Saw the
and
So asked there first.
Subject of the issue
eslint-plugin-mdx triggering mdx/no-unescaped-entities inside JSX
Your environment
Steps to reproduce
Clone and run
yarn
: https://github.com/NickyMeuleman/gatsby-theme-nicky-blog.git Look at any React component in.mdx
that passes a prop with a string value. Example<YouTube youTubeId="dQw4w9WgXcQ" />
https://github.com/NickyMeuleman/gatsby-theme-nicky-blog/blob/master/demo/data/posts/i-want-it-all/index.mdx#L27Expected behaviour
No mdx/no-unescaped-entities error for the quotes in
<YouTube youTubeId="dQw4w9WgXcQ" />
Actual behaviour
mdx/no-unescaped-entities error