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
I am using eslint-plugin-mdx 2.2.0, eslint-mdx 2.2.0
Link to runnable example
https://stackblitz.com/edit/github-nxeabp?file=testcase.mdx
Steps to reproduce
Here is my mdx file that I am linting:
<main>
```js
im_not_camel_case_oops
```
</main>
```js
im_not_camel_case_oops
```
ESLint only runs on the top-level code block. The code block inside the <main>
element is ignored.

Expected behavior
It should lint both code blocks. I have mdx/code-blocks
set to true.
Actual behavior
It only lints the top-level code block
Runtime
Node v18
Package manager
npm v9
OS
macOS
Build and bundle tools
Other (please specify in steps to reproduce)