-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Support async processing #203
Comments
Yes, it is a known issue, and that's why validate-links rule is disabled in As I know asynchronous rule is not supported by ESLint itself right now, or is there any workaround to support? Related: #73 and eslint/rfcs#4 |
Ahh okay, didn’t know ESLint didn’t support that 🤔 |
Looks like ESLint is getting parallel processing support: eslint/rfcs#42 (eslint/rfcs#4 is closed now) |
Cannot do much before ESLint changes. |
Wow, this is great! Does this mean that the Is there anywhere where we can follow along with this? |
Yes! You can try it with latest codesandbox build right now. https://ci.codesandbox.io/status/mdx-js/eslint-mdx/pr/309/builds/125085 |
v1.13.0 has been released! |
Subject of the issue
eslint-mdx
uses .processSync instead of .process, causing async plugins to fail.Your environment
Steps to reproduce
yarn format
inmdx-js/mdx
(with changes on a branch)Expected behaviour
Support async plugins:
eslint-mdx/packages/eslint-plugin-mdx/src/rules/remark.ts
Line 40 in 96fc83a
Actual behaviour
Crash.
P.S. aside: you may be interested in vfile-to-eslint
The text was updated successfully, but these errors were encountered: