Closed trevorblades closed 2 years ago
# yarn 1
yarn add https://pkg.csb.dev/mdx-js/eslint-mdx/commit/abdc9db9/eslint-mdx https://pkg.csb.dev/mdx-js/eslint-mdx/commit/abdc9db9/eslint-plugin-mdx
# yarn 2, 3
yarn add eslint-mdx@https://pkg.csb.dev/mdx-js/eslint-mdx/commit/abdc9db9/eslint-mdx/_pkg.tgz eslint-plugin-mdx@https://pkg.csb.dev/mdx-js/eslint-mdx/commit/abdc9db9/eslint-plugin-mdx/_pkg.tgz
# npm
npm i https://pkg.csb.dev/mdx-js/eslint-mdx/commit/abdc9db9/eslint-mdx https://pkg.csb.dev/mdx-js/eslint-mdx/commit/abdc9db9/eslint-plugin-mdx
Please help us to test the fresh new version.
Initial checklist
Affected packages and versions
1.9.1-1.16.0
Link to runnable example
https://codesandbox.io/s/dreamy-meitner-i6uki6?file=/pages/index.mdx
Steps to reproduce
When a code block that contains curly braces is nested within a JSX tag, the parser fails and won't continue finding issues on the rest of the document. What seems to be happening is any instance of curly braces within JSX is treated like React curly braces, the contents of which are expected to be some JavaScript.
Parsing error: Unexpected token x