-
-
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
preset-prettier integration broken after update of remark-preset-prettier to 2.0.0 #427
preset-prettier integration broken after update of remark-preset-prettier to 2.0.0 #427
Comments
Thanks for reproduction, I'll check soon. |
@enqueue Please use |
@JounQin thanks for the super-fast fix. I wasn't sure in which project this bug report belonged. |
I maintain both
It is indeed an issue at |
Initial checklist
Affected packages and versions
eslint-plugin-mdx 2.0.4
Link to runnable example
Not runnable, but easily made runnable: https://github.com/enqueue/eslint-mdx-reproducer
Steps to reproduce
remarkrc
eslint .
(Hopefully) minimal reproducible example over here: https://github.com/enqueue/eslint-mdx-reproducer
Node version is 18.9
Expected behavior
MDX and MD files are linted according to rules.
Actual behavior
Error message
0:0 error Parsing error: Cannot find module 'preset-prettier'
.Runtime
Other (please specify in steps to reproduce)
Package manager
npm v8
OS
Linux
Build and bundle tools
No response
Workaround
My current workaround is to pin the dependency of remark-preset-prettier to 1.0.2
The text was updated successfully, but these errors were encountered: