-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Does not resolve eslint library for yarn2 projects #46
Comments
From https://next.yarnpkg.com/advanced/pnpify I found a fallback solution:
Can you test whether this works? |
Or https://master--yarn2.netlify.com/advanced/editor-sdks:
I don't use yarn2 yet, just from docs to find this two solutions. Hope you can test both and give feedbacks. |
@fannheyward I am able to Thanks! Is this the expected behavior or is there work to be done to address this without needing to add a settings file for projects using pnp? |
For yarn2 project:
|
@fannheyward are there ways to debug issues for loading coc-eslint? |
When using yarn2 for a project I am getting an error saying
Failed to load the ESLint library for the document ...
. With yarn2 pnp is enabled so there is not a node_modules folder and thus eslint cannot be resolved from the workspace.Info Output Below:
The text was updated successfully, but these errors were encountered: