Closed
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
2.0.2
Link to runnable example
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
$ yarn lint
yarn run v1.22.15
$ eslint --ext .ts,.tsx,.js,.jsx,.mdx src
/workspaces/eslint-mdx-visit-issue/src/stories/Button.stories.mdx
0:0 error Parsing error: Expected value to be truthy
✖ 1 problem (1 error, 0 warnings)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Runtime
Node v16
Package manager
yarn v1
OS
macOS
Build and bundle tools
Vite