-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing error: Expected value to be truthy #420
Comments
Thanks for reproduction, I'll check later. |
See tmpduarte/eslint-mdx-visit-issue#1
|
@wooorm Do you have any idea that how can we ensure same Because |
|
@wooorm If I didn't remember wrong, |
And it accepts options. https://github.com/mdx-js/mdx/blob/main/packages/remark-mdx/index.js |
OK then, I think I can give it a try tonight. Thanks! |
@JounQin thank you very much for taking a look a this 🙏 There might have been a confusion. The main branch, used to replicate the problem actually has not problem at all. Sorry for the confusion 🙏 |
I'm also getting this with version 2.0.3, node v16.13.2 and pnpm v7.9.5 |
Please provide a minimal but runnable reproduction in a new issue then. |
I've opened up #429 as a continuation of this issue with a repro / failing test. |
Initial checklist
Affected packages and versions
2.0.2
Link to runnable example
https://github.com/tmpduarte/eslint-mdx-visit-issue/tree/issue/expected-value-to-be-truthy
Steps to reproduce
Minimal Example
Minimal repository producing this issue with a fresh Vite / TypeScript / React / Storybook / MUI project.
Steps taken
Forked this repository, added the setup needed to use MUI and updated the eslint-mdx to the latest version.
kudos to @sudosilico for the setup 🙏
Expected behavior
.mdx
file should should be linted without parsing errors.Actual behavior
Runtime
Node v16
Package manager
yarn v1
OS
macOS
Build and bundle tools
Vite
The text was updated successfully, but these errors were encountered: