Open
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
3.1.5
Link to runnable example
https://codesandbox.io/p/devbox/eslint-mdx-bug-rc3dvc?file=%2Fpackage.json%3A17%2C26
Steps to reproduce
- On the terminal, run eslint for the test file:
yarn eslint app/test.mdx
Expected behavior
The react/self-closing-comp rule should not trigger for the list tags whose contents are markdown.
Actual behavior
The react/self-closing-comp
rule is triggered for the list tags even though they have contents.
Runtime
Node v20
Package manager
yarn
OS
No response
Build and bundle tools
Next.js
Relevant issues
Something similar has been reported before and it has been fixed. The difference with this new issue is the content is a markdown:
Metadata
Metadata
Assignees
Labels
No labels